[javascript] How to get the url parameters using AngularJS