client/app/app_controller.js
author rougeronj
Thu, 11 Jun 2015 15:37:51 +0200
changeset 170 533a98367f99
parent 0 cef349423167
permissions -rw-r--r--
filter book in the request through 'type' parameter instead of filtering on client side

(function(){
  'use strict';

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

})();