client/app/app_controller.js
author rougeronj
Tue, 09 Jun 2015 19:10:45 +0200
changeset 146 c6fa8ee3f562
parent 0 cef349423167
permissions -rw-r--r--
refactor idArticle to id_article and idInventory to id_inventory remove "/" from resource path

(function(){
  'use strict';

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

})();