How to iterate through an Object attributes in Angular 2
<p>Here's my object (It has n number of dynamic keys. I've only shown two in the example below)</p>

<pre><code>let obj = {
abc:["some text", "some more text"],
xyz:["more text", "what do you think?", "I'm tired now"]

}
</code></pre>

<p>Here's my attempt to loop throw the above and print all the values</p>

<pre><code> &lt;div *ngFor='let item of obj ; let i = index;'&gt;
            &lt;p *ngFor="let value of obj.i"&gt;{{value}}
 &lt;/div&gt;
</code></pre>

<p>But the above doesn't appear to work. What am I doing wrong and what's the correct syntax?</p>