title: Load event of an element with a directive
body: <p>Suppose you have made a new directive in angularJS with attribute restriction, say <code>my-directive</code>.
  Suppose to have the following HTML code:</p>
  
  <pre><code>&lt;img src="..." my-directive /&gt;
  </code></pre>
  
  <p>Now, the <em>load</em> event of the <code>&lt;img&gt;</code> is triggered only when all the code of <code>my-directive</code> is executed and the DOM is completly loaded, or when all the information of the <em>natively</em> <code>&lt;img&gt;</code> tag are loaded (for example the src data, the style, ...)?</p>
  
  <p>I want to know this information because I want understand what is the effect to intercept the load event inside the code of a directive.</p>