to add Parameters you should use $location.search()
method so:
$location.path('/myURL/').search({param: 'value'});
$location
methods are chainable.
this produce :
/myURL/?param=value
More Related Contents:
- Passing data between controllers in Angular JS?
- How do I share $scope data between states in angularjs ui-router?
- How to validate inputs dynamically created using ng-repeat, ng-show (angular)
- How to get evaluated attributes inside a custom directive
- Difference between the ‘controller’, ‘link’ and ‘compile’ functions when defining a directive
- How to pass an object into a state using UI-router?
- How to detect browser back button click event using angular?
- AngularJS browser autofill workaround by using a directive
- Initializing select with AngularJS and ng-repeat
- External resource not being loaded by AngularJs
- angular ng-repeat in reverse
- How can I make an AngularJS directive to stopPropagation?
- How to use jQuery in AngularJS
- Print Html template in Angular 2 (ng-print in Angular 2)
- How to set expiration date for cookie in AngularJS
- Getting values from query string in an URL using AngularJS $location
- Error: [ng:areq] from angular controller
- Angularjs: Error: [ng:areq] Argument ‘HomeController’ is not a function, got undefined
- Error: [ngModel:datefmt] Expected `2015-05-29T19:06:16.693209Z` to be a date – Angular
- Skip ng-repeat JSON ordering in Angular JS
- Consider marking event handler as ‘passive’ to make the page more responsive
- AngularJS: open a new browser window, yet still retain scope and controller, and services
- deserialize Jackson object in JavaScript containing JsonIdentityInfo
- Angular form validation ng-disabled not working
- $resource callback (error and success)
- AngularJS: lazy loading controllers and content
- Is it a bad practice to use jQuery in Angular? [closed]
- Rename Object Key in an array using javascript
- Function Called Multiple Times in AngularJS Repeat Section
- Load static JSON file in Webpack