Hi all,
Let's say that I have a remote api the when called using something like
"/api/search?q=foo" returns something like:
{
Results: [{
'ref': '/api/companies/12',
'description': 'sample company'
}]
}
The above are search results, and the server is telling me where to go to
retrieve details about the returned documents.
Now my requirement is to navigate to a page within my application to display
details about the selected result, with the requirement that the details page
must be "bookmarkable".
The above "ref" value is not a client side uri, it identifies the resource for
the remote server, in which way I can do some sort of mapping to route the
request client side?
And more: when I route the request on the client how can I matain the ref value
somewhere to to know what/where to call in the details page?
Cheers,
.m
--
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.