client/app/app_controller.js
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 00:29:27 +0200
changeset 125 46d7f17cff3d
parent 0 cef349423167
permissions -rw-r--r--
add trace to setup

(function(){
  'use strict';

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

})();