client/app/app_controller.js
author rougeronj
Thu, 02 Apr 2015 13:11:12 +0200
changeset 55 10fd23382e76
parent 0 cef349423167
permissions -rw-r--r--
split ammico $resource to a new .Service

(function(){
  'use strict';

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

})();