title: Pass ng-model as a ng-click function parameter
body: <p>Is that possible to pass a <code>ng-model</code> as a function parameter? for example:</p>
  
  <pre><code>&lt;input type="text" ng-model="myModel"&gt;
  &lt;button ng-click='save('button1', myModel)'&gt;save&lt;/button&gt;
  &lt;button ng-click='save('button2', myModel)'&gt;save&lt;/button&gt;
  &lt;button ng-click='save('button3', myModel)'&gt;save&lt;/button&gt;
  
  
  ....
  
  var save = function(buttonIndex, myModel){
     myModel = buttonIndex + ' clicked';
  }
  
  ....
  </code></pre>
  
  <p>In my case,I have more than one ng-model (6 sets), and I don't want to create 6 sets similar save functions in the controller which only the model is different, if I can pass the model as parameter, I would need to create a single save function is enough.</p>