I have a 10(or n)checkbox in my ng-view. Now I would like to ask here that What is the most efficient or simple way to check if checkbox is checked and if checked get the v
You could simply use angular filter here, also your ng-model should be album.Selected instead of folder.Selected
Html
{{(albums | filter : { Selected: true }: true)}}
Controller
$scope.albumNameArray = $filter('filter')($scope.albums, { Selected: true }, true);
Before using it in controller don't forget to add
$filterin your controller