Need to get the ID value of sub-element in protractor
<p>I am trying to automate test case using Protractor and Jasmine. The problem is I have an "article" web element tag that gets created at runtime and this web-element has a  as sub element. This div element has a "id" tag associated with it. The structure of the code is below.</p>

<p><code>&lt;article class="a b c d" data-ng-repeat="xyz repeat"&gt;
&lt;div id="THIS IS WHAT I WANT" class="class name"&gt;
&lt;/article&gt;</code></p>

<p>Now I am able to get get hold of the article web-element. but I am not able to get the ID attribute in the div. The ID values is generated dynamically. Kindly suggest how I can get the ID value.</p>

<p>Thank you</p>