client/app/app_controller.js
author rougeronj
Mon, 23 Mar 2015 12:25:19 +0100
changeset 26 c7dfe7185ef7
parent 0 cef349423167
permissions -rw-r--r--
rename 'gallery' to 'slides' to handle the slides pages

(function(){
  'use strict';

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

})();