I have a search box on my main page. When the search button is clicked, I 
do a very simple $state.go('index.search', {q: $scope.term}); The 
index.state search is actually transitioned too but the URL in my browser 
does not change. I would expect the URL to change to /#/search?q=myterm I 
am using ui-router for routing.

Am I doing something wrong? Should I be using $state.href instead? Or 
should I be using $location?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to