Permalink
Browse files

Added a top navigation

  • Loading branch information...
phillipkregg committed May 18, 2012
1 parent f6c5048 commit 434b99edb499aa052360f6ae94d631a0ae6598b1
@@ -5,8 +5,8 @@
angular.module('contactapp', ['ngResource']).
config(['$routeProvider', function($routeProvider) {
$routeProvider.
- when('/contacts', {template: 'assets/app/partials/contact-list.html', controller: ContactListCtrl}).
- when('/contacts/new', {template: 'assets/app/partials/new-contact.html', controller: ContactListCtrl}).
+ when('/contacts', {template: 'assets/app/partials/contact-list.html', controller: ContactListCtrl}).
+ when('/contacts/new', {template: 'assets/app/partials/new-contact.html', controller: ContactListCtrl}).
when('/contacts/:contact_id', {template: 'assets/app/partials/contact-detail.html', controller: ContactDetailCtrl}).
otherwise({redirectTo: '/contacts'});
}]);
@@ -1,7 +1,10 @@
<div class="container-fluid">
<div class="span10">
- <a href="/#/contacts/new" class="btn btn-large btn-primary" >Add New Contact</a>
+ <a href="/#/contacts/new" class="btn btn-large btn-primary" >
+ <i class="icon-plus-sign icon-white"></i>
+ Add New Contact
+ </a>
<!--Body content-->
@@ -6,10 +6,10 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
- <a class="brand" href="#">Project name</a>
+ <a class="brand" href="#">Contact Management</a>
<div class="nav-collapse">
<ul class="nav">
- <li class="active"><a href="/#/contacts">Contacts List</a></li>
+ <li class="active"><a href="/">Contacts List</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>

0 comments on commit 434b99e

Please sign in to comment.