client/app/app_controller.js
author rougeronj
Tue, 17 Mar 2015 16:34:23 +0100
changeset 14 4d27fbc3f9df
parent 0 cef349423167
permissions -rw-r--r--
Succed to get the books from our api server and print them dynamically

(function(){
  'use strict';

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

})();