× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

How to use Querystring with $location.path() in AngularJS

Stepan Suvorov
Apr 27, 2015
<p>It should be</p> <pre><code>$location.path('/login').search('ref', '/path/to/redirect') </code></pre> <p>This tip was originally posted on <a href="http://stackoverflow.com/questions/24188562/How%20to%20use%20Querystring%20with%20%24location.path()%20in%20AngularJS/24189297">Stack Overflow</a>.</p>

Get New Tutorials Delivered to Your Inbox

New tutorials will be sent to your Inbox once a week.

comments powered by Disqus