title: HTML element attribute names with hyphens are auto-converted to camelcase
body: <p>I'm building a custom AngularJS directive to create a google map, and I've stored some of the google map options in custom attributes within my tag:</p>
  
  <pre><code>&lt;googlemap zoom-control="true" …&gt;&lt;/googlemap&gt;
  </code></pre>
  
  <p>Angular's directive compile method has parameters <code>(tElement, tAttrs, transclude)</code>; when I log <code>tAttrs</code> to the console, the object has properties with names that have converted hyphens to camelCase:</p>
  
  <p><img src="https://i.stack.imgur.com/MX3vj.png" alt="screenshot from Chrome Dev Tools of the expanded $tAttrs object (property names have been converted to valid format)"></p>
  
  <p>Who is doing this—Angular or the browser (checked in Firefox &amp; Chrome)? Can I rely on this behaviour?</p>
  
  <p>P.S. When I check the DOM, the attributes of the html element still have hyphens.</p>