client/app/app_controller.js
author rougeronj
Thu, 11 Jun 2015 15:36:42 +0200
changeset 169 76fb2dd72ce4
parent 0 cef349423167
permissions -rw-r--r--
update auth controller to fit to the new server side authentication

(function(){
  'use strict';

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

})();