So basically you can use parameters in your state. I use ui.router a lot. I have a little plunker that can maybe help you http://plnkr.co/edit/0dprY4uFU0ziHI1LsoZb?p=preview .
I didn't made a special state just for page and pageSize. I just put them as params. Cause i don't think you want to have multiple controllers. I hope it helps. Have a nice day. You can set them or not. It's your own choice. Just for test i removed pageSize param so you can see they are not required. In your TestCtrl you can find them all and reject if something is not good. Have a nice day. -- 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.
