AngularJS set limitTo to unlimited in ng-repeat -


i need users able change how many entries should see reason need use limitto in ng-repeat need able let them see entries how set unlimited?

example:

<div ng-repeat="person in people | limitto:limitpeople">     <!--- som entry --> </div> 

limitto docs

if u change value undefined filter should not apply should shown.

if limit undefined, input returned unchanged.


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

SQL Server - MyCTE query based on 24 hour period (next day) -

php - Using str_replace to translate a MySQL Table in html -