Anyway, you should also post a section of the router's relevant configuration file, and then I can tell you to add a field to the route? The ending can be passed on or not. 23333
'path/:id/:params?'
This is the best way.
The following is a bad way, it can be anything messy like creating a shared service or passing cookie parameters,
Anyway, you should also post a section of the router's relevant configuration file, and then I can tell you to add a field to the route? The ending can be passed on or not.
23333
This is the best way.
The following is a bad way, it can be anything messy like creating a shared service or passing cookie parameters,
See the parameter passing section of ui-route.
If the route is url: '/smart_accounting/invoice/preCertificate/detail/:id/:type',
then get
$stateParams.id
$stateParams.type