title: Angularjs, Directive, ampersand
body: <p>I study AngularJS, And today i run into weird case, So this is the code: <a href="http://plnkr.co/edit/72uEqUqZYHfW03Je589f?p=preview" rel="nofollow">Plunker</a></p>
  
  <p>And there are some things i just can't explain:</p>
  
  <ol>
  <li>If you can take a look at the value of <code>console.log(scope.done)</code> from the <strong>Plunker</strong> link above, This is the value <code>function (a){return l(e,a)}</code> this value looks like <strong>compressed function version</strong>, After i played with the code a bit i found that the above function return(<strong>and i assume</strong>) the call expression <code>logChore(chore)</code> we pass into done attribute <code>done="logChore(chore)"</code>, So by executing the <code>function (a){return l(e,a)}</code> we executing the <code>logChore(chore)</code> function <strong>?</strong></li>
  <li>Another thing is why using <strong>object map</strong> <code>done({chore:chore})</code>, I do understand that the <strong>chore property value</strong> will be insert into the parameter with the same name  <code>logChore(chore)</code>, But why can't i just do that: <code>done(chore)</code>.</li>
  </ol>
  
  <p>Well if some one can help me understand all of this i will be very thankful, Thank you all and have a nice day.</p>