title: pass array to web api AngularJS
body: <p>I can't pass array from angularJS to web api action in mvc4.</p>
  
  <p>My $resource is:</p>
  
  <pre><code>adminApp.factory('presentation', ['$resource',
  function ($resource) {
      return $resource('/api/presentation/:id', { id: '@id' },
          {
              update: { method: 'PUT', params: { id: '@id' } },
              save: { method: 'POST', params: { model1: '@model1' } },
              remove: { method: 'DELETE', params: { id: '@id' } }
          }
  
      );
  }]);
  </code></pre>
  
  <p>AngularJS code for pass array of data to save it(<strong>presentationItemList</strong> that I want to pass):</p>
  
  <pre><code>$scope.savePresentation = function() {
          if ($scope.form.$valid) {
  
              if ($scope.presentation.Id != undefined &amp;&amp; $scope.presentation.Id &gt; 0) {
                  $scope.presentation.$update({ id: $scope.presentation.Id });
              } else {
                  $scope.presentation.$save({ model1: presentationItemList });
              }
          } else {
              $scope.addFormValidationAlert($scope.form);
          }
      };
  </code></pre>
  
  <p>My Api action that call after <strong>save</strong> action in AngularJS:</p>
  
  <pre><code> public HttpResponseMessage Post(PresentationItemModel model, List&lt;PresentationElementInfoModel&gt; model1)
      {
          var item = Mapper.Map&lt;PresentationItemModel, Presentation&gt;(model);
  
          model.Id = GetActionResultData(ServiceDataProvider.PresentationCrudService.SaveOrUpdate(item));
          if (model.Id.MoreThanZero())
          {
              return new HttpResponseMessage(HttpStatusCode.Accepted)
              {
                  Content = new ObjectContent&lt;PresentationItemModel&gt;(model,
                                                                   new JsonMediaTypeFormatter())
              };
          }
          throw new HttpResponseException(HttpStatusCode.NotFound);
      }
  </code></pre>
  
  <p>I get an error in firebug: <strong>"Can't bind multiple parameters ('model' and 'model1') to the request's content"</strong></p>
  
  <p>This code work fine,if I dont't pass array <strong>presentationItemList</strong> from angular and don't map it in <strong>model1</strong> param of web api action.</p>
  
  <p>Please, help me!</p>