Angular UI bootsrap pagination question

45 views
Skip to first unread message

Istvan Bekesi

unread,
Jul 10, 2014, 8:24:06 AM7/10/14
to ang...@googlegroups.com
Hi,
I try to set pagination "boundary-links" to true, only if i have more then 10 pages.

How can i do that, way is this not working:
http://plnkr.co/edit/sybAKPVyDZe5PUazlTvx?p=preview


Darshan Joshi

unread,
Jul 11, 2014, 1:53:12 AM7/11/14
to ang...@googlegroups.com
Hi,

p1 was not initialized. And hence there was a problem. take a look at below plunker.


I have initialized $scope.p1 on controller.

Békési István

unread,
Jul 11, 2014, 8:49:37 AM7/11/14
to ang...@googlegroups.com
Hi,

Thanks a lot for fixing the plukr.

However I still don't know weather is it possible to re-initialize the pagination, once the data is changing?
In my real life application my data loads dynamically, asyncronusly.

I tried to demonstrate it with a 3 sec timeout:
http://plnkr.co/edit/HbEawIQEEzbh9eJzB8oc?p=preview









--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/oQcrypgqJ-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages