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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -