title: Make a dynamic function on ng-click
body: <p>I have button like this</p>
  
  <pre><code>&lt;button ng-click="method = 'create'; title = 'Create'&gt;create&lt;/button&gt;
  &lt;button ng-click="method = 'update'; title = 'Update'&gt;update&lt;/button&gt;
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>&lt;button ng-click="create(param)"&gt;{{ title }}&lt;/button&gt;
  &lt;button ng-click="update(param)"&gt;{{ title }}&lt;/button&gt;
  </code></pre>
  
  <p>Code above works fine, but I want to make it dynamic.</p>
  
  <p>so I change it like following.</p>
  
  <pre><code>&lt;button ng-click="{{ method }}(param)"&gt;{{ title }}&lt;/button&gt;
  </code></pre>
  
  <p>This does not work, I dont know why, although if I do inspect element, code above generates corrects code as mentioned before.</p>