title: AngularJS - send array in state params
body: <p>I can able to send one value in state params from html using</p>
  
  <pre><code>&lt;a ui-sref="index.manageInvitees({id: event.id})"&gt;
  </code></pre>
  
  <p>And can use in controller</p>
  
  <pre><code>$scope.event.id = $stateParams.id;
  </code></pre>
  
  <p>If it's array of elements not working for me</p>
  
  <pre><code>&lt;a ui-sref="index.manageInvitees({event: event})"&gt;
    &lt;i class="fa fa-users"&gt;&lt;/i&gt; Add Invitees
  &lt;/a&gt;
  </code></pre>
  
  <p>And If I want take it in controller</p>
  
  <pre><code>$scope.event = $stateParams.event;
  </code></pre>
  
  <p>Not able to get. How can I get these values?</p>