Here i have Added list of mobile brand name with submodels. my expectation: 1.here nokia and samsung htc listed multiple times.how can i avoid same name repeated in list 2.w
Add angular ui filter:
angular.module('myApp', ['ui.filters'])
First list shows distinct brands:
ng-repeat="item in items | unique: 'brandname'"
Second list filters by brand:
ng-repeat="item in items | filter: {brandname: selectedBrand}"
jsfiddle