Hello!
If you're using html5 mode, then there is no difference between standard query parameters and AngularJS ones. So your redirected URL would have looked like this:
http://localhost:8080/users/123/providers/LinkedIn/social-sites?code=XXX&state=YYY
And then you could clear the search/query parameters normally:
$location.search( 'code', null );
$location.search( 'state', null );
But I don't know of any built-in way to clear query parameters without html5 mode.
Josh
(Sent from my mobile)
--
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 angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.
$routeProvider.when('/about', {templateUrl: 'partials/about.html',controller: 'Controller'reloadOnSearch: false});
$location.url('/');$rootScope.$apply();