client/app/app_controller.js
author rougeronj
Tue, 07 Apr 2015 11:47:15 +0200
changeset 71 a5dedc11ba8f
parent 0 cef349423167
permissions -rw-r--r--
add parent_visit attribute to model to identify a book created by user and a book from Jamespot

(function(){
  'use strict';

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

})();