title: Use alert from ng-click of a directive
body: <p>New to angularjs.
  Want to write an expression into an ng-click.</p>
  
  <p>example: </p>
  
  <pre><code>x.directive('li',function(){
    return {
        restrict: 'E',
        replace: true, 
        template: '&lt;games&gt; &lt;game  ng-click="(alert({{ game }})" ng-repeat="game in games"&gt; {{ game.team1 }} {{game.bets }}   &lt;game&gt;&lt;/br&gt;&lt;/games&gt; '
    }     
  });
  </code></pre>
  
  <p>I want to alert the game on click but I got this error: </p>
  
  <pre><code>Error: [$parse:syntax] Syntax Error: Token 'game' is unexpected, expecting [:] at column 11 of the expression [(alert({{ game }})] starting at [game }})].
  </code></pre>