client/app/app_controller.js
author rougeronj
Thu, 28 May 2015 09:56:40 +0200
changeset 103 b707607e8a38
parent 0 cef349423167
permissions -rw-r--r--
refer to the user model through settings.AUTH_USER_MODEL

(function(){
  'use strict';

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

})();