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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -