client/app/app_controller.js
author rougeronj
Wed, 08 Apr 2015 00:31:45 +0200
changeset 76 aa0a2d37faca
parent 0 cef349423167
permissions -rw-r--r--
show the data of the json received from the server (normalize the exchanged data)

(function(){
  'use strict';

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

})();