client/app/app_controller.js
author rougeronj
Thu, 02 Apr 2015 11:58:19 +0200
changeset 52 ce9aefce6e41
parent 0 cef349423167
permissions -rw-r--r--
add auth Service with API authentication url

(function(){
  'use strict';

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

})();