client/app/app_controller.js
author rougeronj
Thu, 04 Jun 2015 20:10:38 +0200
changeset 114 e4ffc4e13a8e
parent 0 cef349423167
permissions -rw-r--r--
add a token field to the initialisation of the ammico app so the server can pass it and auto login with jwt

(function(){
  'use strict';

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

})();