client/app/app_controller.js
author rougeronj
Thu, 11 Jun 2015 16:23:47 +0200
changeset 175 d7e1920ec9ae
parent 0 cef349423167
permissions -rw-r--r--
Added tag V0.1-alpha.2 for changeset fd166770bcee

(function(){
  'use strict';

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

})();