title: AngularJS Directive for get element ID
body: <p>I need to get the Element ID from AngularJs.<br>
  I have tried this but it didn't work.</p>
  
  <pre><code>angular.module('AngStarter').directive('oblInLineEditor', function() {
      return function(scope, element, attr) {
           console.log("value = " + scope.$eval(attr.id));
      }
  });
  </code></pre>