Closed 0xd5dc closed 7 years ago
Hi @summermick Try the below:
this.API.all('').get('posts', {page: params})
I have been used this one, API.all("post?page="+page).get('')
, instead, but my OCD just wont let me move one.
thanks a million!
I'm submitting a ...
[ ] bug report
[ ] feature request
[x] support request
[ ] other (Please specify)
Provide information & explanation how do I get with a param for pagination? I want to use restangular to get "api/posts?page=2", but got type error "...getList is not a function"
Got code samples? in the controller this.API.getList("posts", {page: params}).then(function(posts) {})
Laravel & Angular version: 3.2.0