client/app/app_controller.js
author rougeronj
Wed, 18 Mar 2015 16:16:37 +0100
changeset 17 cf07ed692810
parent 0 cef349423167
permissions -rw-r--r--
update loading json - python 3.4 no more loads raw data so we need to decode it before loading to json

(function(){
  'use strict';

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

})();