阅读背景:

如何使用AngularJS重定向到另一个页面?

来源:互联网 

I am using ajax call to perform functionality in a service file and if the response is successful, I want to redirect the page to another url. Currently, I am doing this by using simple js "window.location = response['message'];". But I need to replace it with angularjs code. I have looked various solutions on stackoverflow, they used $location. But I am new to angular and having trouble to implement it.I am using ajax call to perform functionality i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: