I am new to angularjs.
Here is my code :
$scope.styles = [{"name":"walking"},{"name":"Food"},{"name":"culture"}]
I created checkboxlist
<div ng-repeat="style in styles">
<input type="checkbox"> {{style}}
</div>
I am getting the Tours packages with style value eg: walking ,food
$scope.tours = [{"Tourname":"sky walk","style:walking "},{"Tourname":"Accra markets","style":"food,walking"}]
my objective : when i click a style in the checkbox , all the tours with the style only displayed.
any help or sample links ?