Angularjs stripping out query string -
i have route defined as
application.component('myapp', { template: '<ng-outlet></ng-outlet>', $routeconfig: [ {path: '/person', name: 'person', component: 'person', useasdefault: true}, ], bindings: {$router: '<'} });
whenever go localhost3000/person?eye=blue
redirects localhost:3000/person
. how angular maintain query string?
add preservequeryparams
in route config.
Comments
Post a Comment