Hello,
I am working on a project where I am required to read urls from a json file 
retrieved from a restful web service. Basically the first '/' request 
fetches a file which contains a list of items and links to browse between 
pages.
The file contain two urls to fetch the previous and next list of items. A 
typical session could look like this 'baseUrl/api/dataElements' then 
'baseUrl/api/dataElements?page=2'. These urls contains the host and path of 
the resource.

I am trying to pass this url to my $resource service when navigating 
between pages, but i fail to find an 'angular' way of doing it. The url can 
change so i can not rely on parsing it and passing along the q. string 
value.

I am new to angular so forgive any obvious oversights :)

Thank you

-- 
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