0
In the 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 of all users, the edit button was configured as follows:
<a href="#" ui-sref="app.users.edit">Editar ID {{user.id}}</a>
I am unable to pass user ID to $state.
How do I receive parameters in $state?