Skip to content

Commit 34e8eec

Browse files
author
surendra_vidiyala
committed
updated the href with sref
1 parent 39b7585 commit 34e8eec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

angular-ui-router/app/views/header.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77
<span class="icon-bar"></span>
88
<span class="icon-bar"></span>
99
</button>
10-
<a class="navbar-brand" href="#/"><img src="images/logo.png" height=30 width=41></a>
10+
<a class="navbar-brand" ui-sref="app"><img src="images/logo.png" height=30 width=41></a>
1111
</div>
1212
<div id="navbar" class="navbar-collapse collapse">
1313
<ul class="nav navbar-nav">
14-
<li class="active">
15-
<a href="#/">
14+
<li>
15+
<a ui-sref="app">
1616
<span class="glyphicon glyphicon-home" aria-hidden="true"></span> Home</a>
1717
</li>
1818
<li>
19-
<a href="#/aboutus">
19+
<a ui-sref="app.aboutus">
2020
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> About</a>
2121
</li>
2222
<li>
23-
<a href="#/menu">
23+
<a ui-sref="app.menu">
2424
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> Menu
2525
</a>
2626
</li>
2727
<li>
28-
<a href="#/contactus">
28+
<a ui-sref="app.contactus">
2929
<i class="fa fa-envelope-o"></i> Contact</a>
3030
</li>
3131
</ul>

0 commit comments

Comments
 (0)