client/app/app_controller.js
author rougeronj
Tue, 07 Apr 2015 12:01:58 +0200
changeset 75 288fb435874e
parent 0 cef349423167
permissions -rw-r--r--
Render parent books, child books, and other books separately - minor clean in modal.html

(function(){
  'use strict';

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

})();