If I have an array of names like
names = ["Muneeb", "Roshan", "Umar", "Kamil", "Shamseer", "Ajay", "Jasar"]
and I want to filter this array in a way that select two elements from this array which has an index of 3 and 4. How to achieve this by AngularJS ng-repeat? Please advise.
new_names = [names[3], names[4]]
– xbonez Feb 25 '16 at 22:06ng-repeat="name in [names[3], names[4]]"
? – Ananth Feb 25 '16 at 22:08