With these it helps This is by design. The part after the # is called the fragment, and is it never sent to the server since it is supposed to be used on the client side only. Per Wikipedia's article on the subject:
like below fixes the issue While there's not alot of info about what you need this for, I think this could be best solved without a separate directive, using the html5 tag. Using this requires modifying the existing index.html to contain the following.
this will help It looks like you have your actual response wrapped. In that case you'll want to look at this part of the documentation: Restangular Wrapped Response. You'll need to use the addResponseInterceptor to make sure it returns the right data.
AngularJS, Restangular - Setting Restangular.baseUrl on run time