$scope.totalItems = $scope.list;

When I output my totalItems in the brackets {{totalItems.length}} then it 
outputs 12 (thats the currently number of items).

I think the paginator see this as a string and not as a number, because 
when I'm giving my totalItems a static number then it outputs the correct 
Pagination Numbers (in my example there are 3 pages).

How can I convert this in an Int value? I tried with parseInt but it 
doesn't work.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to