client/app/app_controller.js
author ymh <ymh.work@gmail.com>
Sun, 07 Jun 2015 22:54:59 +0200
changeset 120 6746ea102e2d
parent 0 cef349423167
permissions -rw-r--r--
Added tag V0.1-alpha.0 for changeset 3922b186a5b2

(function(){
  'use strict';

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

})();