I Have a nav bar in my home page , all the controller and views have been 
defined in app.js , and all the states have also been defined 
as far as optimization is considered which is better using ng-href or 
ui-sref 

<li ui-sref="registration" ui-sref-active="active">Registrations</li>- <li 
ui-sref="hospitality" ui-sref-active="active" 
style="left:10px;">Hospitality</li>- <li ui-sref="events" 
ui-sref-active="active">Events</li>- <li ui-sref="Home" class="home">- Home- 
<img src="images/header/headerlogo.png">+ <li>+ <a 
ng-href="/registrations">Registrations</a>+ </li>+ <li style="left:10px;">+ 
<a ng-href="/hospitality">Hospitality</a>
 

-- 
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.

Reply via email to