title: How to get value of directive in angularjs
body: <p>I've made custom element directive. I would like to know how to get value from the scope of directive or from attribute.</p>
  
  <pre><code>&lt;my-element my-attr="??" ng-click="myFunction(VALUE_OF_MY_ATTR)" /&gt;
  </code></pre>