title: how to pass an array from angular js to REST service using $resource
body: <p>I am a novice to AngularJs and REST service and want to know how can I pass an array of object to REST-POST call in angular js using $resource.
  I know how to pass a single parameter but not sure how to pass an array. This is my code for Get call where I am passing a single parameter. Can anyone tell me , how can I achieve the same thing with POST + array. Thanks!!</p>
  
  <pre><code> var services = angular.module('myApp.services', ['ngResource']);
          services.factory('AngularIssues',
              function($resource){
              return $resource('http://localhost:8181/MyRESTService/services/UserInfo/:id', {} ,{
                  get:{method:'GET' , params: {id: '@id'} }
               } );
          });
  </code></pre>