client/app/app_controller.js
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 00:29:37 +0200
changeset 126 5ee558e98aff
parent 0 cef349423167
permissions -rw-r--r--
Added tag V0.1-alpha.0 for changeset 46d7f17cff3d

(function(){
  'use strict';

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

})();