anchor.diff: -function AdminCreateOrderCycleCtrl($scope, $http, Enterprise) {
  -  $scope.order_cycle = {};
  -  $scope.order_cycle.incoming_exchanges = [];
  -  $scope.order_cycle.outgoing_exchanges = [];
  +function AdminCreateOrderCycleCtrl($scope, $http, OrderCycle, Enterprise) {
  +  $scope.order_cycle = OrderCycle.order_cycle;
   
     $scope.enterprises = {};
     Enterprise.index(function(data) {
  
positive.code:   config(function($httpProvider) {
      $httpProvider.defaults.headers.common['X-CSRF-Token'] = $('meta[name=csrf-token]').attr('content');
    }).
    factory('OrderCycle', function($resource) {
      return $resource('/admin/order_cycles/:order_cycle_id.json', {},
  		     {'index': { method: 'GET', isArray: true},
  		      'show': { method: 'GET', isArray: false}});
    }).
    factory('Enterprise', function($resource) {
      return $resource('/admin/enterprises/:enterprise_id.json', {},
  
negative.code:   });
  
    $scope.addSupplier = function($event) {
      OrderCycle.addSupplier($event, $scope.new_supplier_id);
    };
  
    $scope.submit = function() {
      OrderCycle.create();
    };
  }
  
  