equal
deleted
inserted
replaced
|
1 (function(){ |
|
2 'use strict'; |
|
3 |
|
4 angular.module('ammico') |
|
5 .controller('routeClassCtrl', function($scope, $location) { |
|
6 $scope.isActive = function(route) { |
|
7 return route === $location.path(); |
|
8 }; |
|
9 }); |
|
10 |
|
11 })(); |