client/app/app_controller.js
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 00:50:36 +0200
changeset 132 ca7e5ca8635c
parent 0 cef349423167
permissions -rw-r--r--
unicode handling in version

(function(){
  'use strict';

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

})();