Hello,
I have been trying to make a logout button to be on a nav bar and control its showing using ng-show-auth. However, when i click the button after login, it doesn't do anything.
Could someone shed some light on the matter?
my AccountCtrl and LoginCtrl are as in the generated project. My navbar looks like this:
<!-- Add your site or application content here -->
<div class="container">
<div class="header" ng-include="'views/nav.html'"></div>
<div ng-view=""></div>
Hello, I have been trying to make a logout button to be on a nav bar and control its showing using ng-show-auth. However, when i click the button after login, it doesn't do anything.
Could someone shed some light on the matter?
my AccountCtrl and LoginCtrl are as in the generated project. My navbar looks like this:
and my index.html reference for nav.html:
Thank you so much in advance.