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 -

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

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -