title: What is the equivalent of $(this) in AngularJS
body: <p>I have this code in the view:</p>
  
  <pre><code>&lt;span id="l3-bridge" ng-click="redirect('l3bridge')" class="menu-opt"&gt;
      &lt;img class="marginleft" src="/web/bundles/lima3main/images/icon-l3bridge.png"&gt;
      L3 Bridge
  &lt;/span&gt;
  </code></pre>
  
  <p>And this is my redirect function in angular:</p>
  
  <pre><code>$scope.redirect = function(url) {
  
      var element = angular.element( $(this) );
      console.log(element);
  
  }
  </code></pre>
  
  <p>What i need to do is get the id value (in this case <strong>l3-bridge</strong>) from the element that i clicked.</p>
  
  <p>Is there any equivalent of <code>$(this).attr('id')</code> from jQuery to AngularJS ?</p>
  
  <p><strong>Edit:</strong> I mean, i need the element's id of the view. How can i do it with angular?</p>