title: Passing function with custom data attribute
body: <p>Is it possible passing a function with a custom data attribute?</p>
  
  <p>This does not work:</p>
  
  <pre><code>&lt;div data-myattr="hello();"&gt;
  &lt;/div&gt;
  </code></pre>
  
  
  
  <pre><code>function hello(){
      console.log('hello');
  }
  </code></pre>
  
  <p>When I get the attribute it's a string with the value "hello();" instead of the function. How to solve this?</p>