Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html ng-app>
<head>
<meta charset="utf8" />
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
</head>
<body>
<div ng-init="user = [1,2,3,4,5]; limit = 2;">
Limit {{user}}: <input type="text" ng-model="limit" /><br />
output: {{user | limitTo:limit }}
</div>
</body>
</html>
The most helpful ANGULARJS solutions
How to get client ip address using angularjs ?ANGULARJS Click to see more ... 19.3K 2.8K