title: How do you read the value assigned to an AngularJS directive
body: <p>I have an angular directive that is a custom attribute that possibly can contain a value like so:</p>
  
  <pre><code>&lt;div my-directive="myVal"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>How do I read myVal (as a string) from inside my directive's link function?</p>