mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-13 00:46:48 +02:00
Major Redesign
This commit is contained in:
parent
2f0c8fdeab
commit
c97dcc5da7
40 changed files with 746 additions and 112 deletions
10
public/js/controllers/navigation.controller.js
Normal file
10
public/js/controllers/navigation.controller.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
angular.module('rallly')
|
||||
.controller('NavigationCtrl', function($scope, $location){
|
||||
$scope.isActive = function(path) {
|
||||
if ($location.path() == path) {
|
||||
return true;
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue