i'm applying 2 filters on div
<div ng-repeat="item1 in filteritems(d) | filter:query | findobj : selected "> but not working
here working jsfiddle
the best can this.
it's not sexiest, works.
html :
added select
<select ng-model="category2"> <option value=""></option> <option value="goto">goto</option> <option value="mainheading">mainheading</option> <option value="pageid">pageid</option> </select> added kind of clauses html div
ng-show="category2=='goto'||category2===''" js : intialized var ''
$scope.category2 = ""; that's not you're looking for. that's not best things do. @ least works.
hope helped
Comments
Post a Comment