UW-Madison-DoIT/angularjs-portal — pull request #46 by timlevett (2014-11-11 22:47:01+00:00)
Title: MUMUP-1311 : Make marketplace filtering faster

I did some timing with my mobile device.
+ Switching categories took between 5-6 seconds.
+ Switching between categories and most popular took about 20 seconds
+ Trying to filter using the search locks up the page (and my phone apparently). Its really sluggish.

I did some research, found:
+ Try to use `ng-if`over `ng-hide` or `ng-show`
+ use bind once (available in 1.3.1 of angular)
+ Try to limit your results

I did all of that to marketplace.

I noticed render times cut in 1/2 for me. Not bad, but could be better. This PR is the first wave of attach on this.

Enhancements include:
+ All research listed above
+ Upgrade to angularJS 1.3.2
+ Added a 250ms delay on the search so it doesn't try to filter on every keyup