title: Angular way to set onerror on iframe
body: <p>Is there angular way to setup onerror attribute on iframe so I can use angular expressions. I've tried to use this:</p>
  
  <pre><code>&lt;iframe onerror="{{vm.error()}}" ng-src="{{vm.url}}"/&gt;
  </code></pre>
  
  <p>but got error:</p>
  
  <blockquote>
    <p>Interpolations for HTML DOM event attributes are disallowed</p>
  </blockquote>