title: Angularjs | how to get an attribute value from element in which controller is defined
body: <p>I'm still fighting with simple things in Angular. I have jQuery and Backbonejs background, so please do not yell on me. I try hard to understand differences</p>
  
  <p>I have HTML in which from rails is given ID of project as data-project-id:</p>
  
  <pre><code>&lt;div data-ng-controller="ProjectCtrl as ctrl" data-project-id="1" id="project_configuration"&gt;
  </code></pre>
  
  <p>Is there any chance to get access to this attribute? I need it to my API calls...</p>