title: Angular ng-init pass element to scope
body: <p>Is there a way to get the current element where my ng-init is currently binded on?</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;div ng-init="doSomething($element)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I believe that there is a way for ng-click but I can't do this using ng-init like this:</p>
  
  <pre><code>&lt;div ng-click="doSomething($event)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>$scope.doSomething = function(e){ 
      var element = angular.element(e.srcElement); 
  }
  </code></pre>
  
  <p>How do I do this with ng-init?</p>