client/app/app_controller.js
author rougeronj
Thu, 01 Oct 2015 18:00:33 +0200
changeset 187 fe5933b576a7
parent 0 cef349423167
permissions -rw-r--r--
Added tag V0.1-alpha.4 for changeset d79e844ca86b

(function(){
  'use strict';

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

})();