client/app/app_controller.js
author rougeronj
Mon, 23 Mar 2015 12:45:35 +0100
changeset 29 2188a7b2b0dc
parent 0 cef349423167
permissions -rw-r--r--
remove unused var

(function(){
  'use strict';

  angular.module('ammico')
  .controller('routeClassCtrl', function($scope, $location) {
    $scope.isActive = function(route) {
        return route === $location.path();
    };
  });

})();