I have this links:
<ul>
<li><a href="store">Stores</a></li>
<li><a href="groups">Groups</a></li>
<li><a href="purchases">Purchases</a></li>
<li><a href="settings">Settings</a></li>
</ul>
and this is the routeProvider config:
$locationProvider.html5Mode(true);
$routeProvider
.when('/store', {
templateUrl: 'store.html',
controller: 'StoreController'
})
.when('/groups', {
templateUrl: 'groups.html',
controller: 'GroupsController'
})
.when('/purchases', {
templateUrl: 'purchases.html',
controller: 'PurchaseController'
})
.when('/settings', {
templateUrl: 'settings.html',
controller: 'SettingsController'
})
.otherwise({redirectTo: '/store'});
The problem is that I have one more link in my HTML file:
<a href="logout">Log Out</a>
Angular is not allowing me to click this link, because otherwise part of
the config is catching it.
How do I get around this?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.