client/app/app_controller.js
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 00:37:30 +0200
changeset 129 509d7a4c0a2b
parent 0 cef349423167
permissions -rw-r--r--
Added tag V0.1-alpha.0 for changeset d4e5954f2ad4

(function(){
  'use strict';

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

})();