How do I show only the first element in angular?
I\'m using ng-repeat like this:
ng-repeat
Don't use ng-repeat directive, this should work:
{{ products[0].price }}