title: Data-binding arguments of a function with AngularJS in ng-click
body: <p>I am using ng-click to call a function with arguments I get from the $scope. Unfortunately either are the arguments not processed from angular or I get this error:</p>
  
  <blockquote>
    <p>Error: [$parse:syntax] Syntax Error: Token ':' not a primary expression at column 1 of the expression [:notification] starting at [:notification].</p>
  </blockquote>
  
  <p>HTML snippet that results in error:</p>
  
  <pre><code>&lt;div ng-click="goToNotif({{notification.id}})"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>HTML snippet not being processed from angular:</p>
  
  <pre><code>&lt;div ng-click="goToNotif(notification.id)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>IMPORTANT: <code>notification</code> is parsed from a repeat</p>
  
  <pre><code>&lt;div(ng-repeat="notification in notifications")&gt;&lt;/div&gt;
  </code></pre>