angularjs - Passing information to another state with ui-router and $stateParams -
i've got gist here : https://gist.github.com/robindesir/e6e1d8780f84f4be27b7
what i'm trying go device page using ui-router (see app.js). however, redirection never work , can't figure out why.
angular router uses ui-sref
navigate between states.
ui-sref="bledetail({deviceid: device.id})"
edit:
you can use notation it's not recommended so:
href="#/bledetail/{{device.id}}"
Comments
Post a Comment