Sunday, 15 September 2013

angularjs - Angular js filteration by check box -


I have to filter the results by check box. Weather ng-repeat has a simulator text value. Here is the code snippet

  $ InArray (names.slotschedule, $ scope.colourIncludes)  

Is there a function similar? > $ scope.colourFilter = function (fruit) {if ($ scope.colourIncludes.length> 0) {if ($ .inArray (fruit color, $ scope.colourIncludes) & lt; 0 ) Return; }

need to be filtered by the array in which I give the ng-click example, for example if I pass in 'ng-click' then the parameter is filtered red should go.


No comments:

Post a Comment