How to pass multiple parameters to url using angular js?
<p>I am a newbie to angular js .
Here in my project i want to pass multiple parameters in anchor tag .
So that i will get multiple params in address bar too.
I have tried this one but its not working at all.</p>



<pre class="lang-html prettyprint-override"><code> &lt;a href="" ui-sref="edit_user({id:0,pid:'add-user'})"&gt;Add New user&lt;/a&gt;
</code></pre>

<p>It is showing "<a href="http://localhost/Angular/#/edit-user/0" rel="nofollow noreferrer">http://localhost/Angular/#/edit-user/0</a>",but i need to pass some more parameters.
Above is the code.
I want the url to be ""<a href="http://localhost/Angular/#/edit-user/0/add-user" rel="nofollow noreferrer">http://localhost/Angular/#/edit-user/0/add-user</a>","
Here , am I doing anything wrong ?
Please suggest me .
Thank you.</p>