Skip to content

Commit dc55091

Browse files
committed
Replace hash with hash-bang to fix bug from upgrading to Angular 1.6
The default navigation hash prefix has changed from '' to '!' in Angular 1.6: angular/angular.js#14202
1 parent b39764a commit dc55091

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/app/app.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ <h2>Publication Library</h2>
1212

1313
<!-- Navigation buttons-->
1414
<div layout="row" layout-align="center center">
15-
<md-button ng-href="#/publications" ng-class="{'nav-location': main.locationMatches('/publications')}">Publications</md-button>
15+
<md-button ng-href="#!/publications" ng-class="{'nav-location': main.locationMatches('/publications')}">Publications</md-button>
1616
<span>|</span>
17-
<md-button ng-href="#/authors" ng-class="{'nav-location': main.locationMatches('/authors')}">Authors</md-button>
17+
<md-button ng-href="#!/authors" ng-class="{'nav-location': main.locationMatches('/authors')}">Authors</md-button>
1818
<span>|</span>
19-
<md-button ng-href="#/publishers" ng-class="{'nav-location': main.locationMatches('/publishers')}">Publishers</md-button>
19+
<md-button ng-href="#!/publishers" ng-class="{'nav-location': main.locationMatches('/publishers')}">Publishers</md-button>
2020
</div>
2121

2222
<span flex></span>

0 commit comments

Comments
 (0)