client/app/app_controller.js
author rougeronj
Thu, 11 Jun 2015 16:19:36 +0200
changeset 172 ffdfe491869c
parent 0 cef349423167
permissions -rw-r--r--
uncomment jshint and fix minor bug rename myCustomer to imgType (customer to check if image is portrait or landscape)

(function(){
  'use strict';

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

})();