Open jjgonver opened 8 years ago
I'm trying to enable profile.html from the user link but I don't understand well the logic of UI router for that.
<div class="row"> <p> Profile html test </p> </div>
... // Routes that needs authenticated user $stateProvider .state('profile', { abstract: true, template: '<ui-view/>', data: { access: AccessLevels.user } }) .state('profile.edit', { url: '/profile', templateUrl: '/frontend/profile/profile.html', controller: 'ProfileController' }) ; ...
... <li class="pull-right" data-ui-sref-active="active" data-ng-show="auth.isAuthenticated()" > <a href="#" data-ui-sref="profile.edit">{{user().username}}</a> </li> ...
In that way no error but don't load anything. What am I doing wrong? Thanks
I'm trying to enable profile.html from the user link but I don't understand well the logic of UI router for that.
In that way no error but don't load anything. What am I doing wrong? Thanks