I have a JSON file containing some data I d like to access on my AngularJS website. Now what I want is to get only one object from the array. So I d like for example Item wi
If you want the list of items like city on the basis of state id then use
var state_Id = 5; var items = ($filter('filter')(citylist, {stateId: state_Id }));