AngularJS : taking care of the complete URL for the router (using ui-router)
I'm experimenting angularjs on my own website. My problem is that I want
the same content on the URL http://website.com/foo/bar with and without
JS.
When I come on "/" and JS, I can move to "/foo/bar", no problem.
If I refresh without JS, no problem.
If I refresh with JS, angular is not able to generate the wanted content.
I think the problem is from $location witch doesn't take care of the
complete url as suggest this issue.
How force angular to take care of the complete URL ?
Thanks.
No comments:
Post a Comment