title: Convert Object to Array Angularjs
body: <p>I'm working with google charts using angularJs. The problem am facing is that the data used in the chart must be an array but the type of data I have is an object. So how can I convert it to an array.
  The data I have :</p>
  
  <pre><code>Object {Normale: 1129, urgente: 153}
  </code></pre>
  
  <p>The array am trying to have would be something like this:</p>
  
  <pre><code>[['priorite', 'nb'], ['urgente', 1129],['normale', 153]]
  </code></pre>
  
  <p>Thank you,</p>