Answer the question
In order to leave comments, you need to log in
How to pass parameters to url in angularjs?
Angularjs 1.6.4
Trying to pass parameters to url:
window.location.replace('/some/url/'+some.id+'/?queryfield=field100')
var absUrl = $location.absUrl();
var searchObject = $location.search();
window.location.replace('/some/url/'+some.id+'/#?queryfield=field100')
Answer the question
In order to leave comments, you need to log in
The problem was solved like this:
app.config(['$locationProvider', function($locationProvider) {
$locationProvider.hashPrefix('');
}]);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question