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

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -