Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2011 (Minneapolis, MN) with: Emily Christiansen
Ben Nadel at cf.Objective() 2011 (Minneapolis, MN) with: Emily Christiansen@egchristiansen )

Keyamoon

Member since Jun 23, 2013

Recent Blog Comments By Keyamoon

  • Filter vs. ngHide With ngRepeat In AngularJS

    Posted on Jun 23, 2013 at 8:09 AM

    I had done something similar in the past, without using an extra controller. I used filtering inside ng-show. Like this: <li ng-repeat="friend in friends" ng-show="!search || ([friend.name]|filter:search).length"> {{friend.name}} </li> You can see a live demo ... read more »