title: Passing multiple argument to ng-click method
body: <p>In my code i like to pass to arguments to the function specified inside the ng-click attribute.</p>
  
  <pre><code>&lt;div class="shout" ng-repeat="user in users"&gt;
   &lt;p&gt;{{user.name}}&lt;/p&gt;
   &lt;img src="media/images/delete.png" ng-click="deleteUser({{$index}},{{user._id}})"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and in the controller</p>
  
  <pre><code>function deleteUser(index, userId){...}
  </code></pre>
  
  <p>the parameter index is to remove the user from $scope.user and user._id to remove it from the mongodb. i am a newbee to angular js. </p>
  
  <p>when i tried like this the deleteUser is not getting called. if i pass single argument it works like charm but when i pass more than its not working</p>