In app.config I have the following $ state:
.state('app.users.edit', {
url: "/editar/:uid",
views: {
'content@' : {
templateUrl: 'view/users_edit.html',
controller: 'users_edit',
resolve: { auth : logged }
}
}
});
I have a list with all users, the edit button has been set up as follows:
<a href="#" ui-sref="app.users.edit">Editar ID {{user.id}}</a>
I am not able to pass the user ID to $ state.
How do I get parameters in $ state?