anchor.diff:        order_cycle: {incoming_exchanges: [],
   		    outgoing_exchanges: []},
   
  -      addSupplier: function($event, new_supplier_id) {
  -	$event.preventDefault();
  +      addSupplier: function(event, new_supplier_id) {
  +	event.preventDefault();
   	this.order_cycle.incoming_exchanges.push({enterprise_id: new_supplier_id, active: true});
  -      },
  -
  -      removeInactiveExchanges: function() {
  -	for(var i=0; i < this.order_cycle.incoming_exchanges.length; i++) {
  -	  if(!this.order_cycle.incoming_exchanges[i].active) {
  -	    this.order_cycle.incoming_exchanges.splice(i, 1);
  -	    i--;
  -	  }
  -	}
         },
   
         load: function(order_cycle_id) {
  
positive.code: 	    console.log('fail');
  	  }
  	});
        }
      };
    }).
    factory('Enterprise', function($resource) {
      return $resource('/admin/enterprises/:enterprise_id.json', {},
  		     {'index': { method: 'GET', isArray: true}});
    }).
    directive('datetimepicker', ['$parse', function($parse) {
      return function(scope, element, attrs) {
  
negative.code: function AdminCreateOrderCycleCtrl($scope, $http, OrderCycle, Enterprise) {
    $scope.enterprises = Enterprise.index();
  
    $scope.order_cycle = OrderCycle.order_cycle;
  
    $scope.addSupplier = function($event) {
      OrderCycle.addSupplier($event, $scope.new_supplier_id);
  