Generic foreach Loop in Javascript and AngularJs
<p>I'm stuck with foreach loop , i don't know the column Name so i can't do 
<code>value.Job</code> ,   and i need to display all the colums with it specific data   </p>

<pre><code>angular.forEach(data, function(value, key) {
    console.log( 'the  Object N° ' + i );
    'maybe another loop for all the column
    console.log( 'the column name is + ': ' +  value ??);
});     
</code></pre>

<p>the result should be like :</p>

<pre><code>the  Object N° 1 
the column name is  Name  :  Matt 
the column name is  Job  :  Teacher

the  Object N° 2 
the column name is  Name  :  Alice
the column name is  Job  :  Doctor
</code></pre>

<p>Any ideas here !</p>

<p>I want to see both the options for JavaScript and AngularJs forEach. </p>