title: How to retrieve the angle in css3 rotate?
body: <p>I have the following code which sets the rotational angle on the element:</p>
  
  <pre><code>$('#1-link-2')
                  .css('height', length)
                  .css('-webkit-transform', 'rotate(' + angle + 'deg)')
                  .css('-moz-transform', 'rotate(' + angle + 'deg)')
                  .css('-o-transform', 'rotate(' + angle + 'deg)')
                  .css('-ms-transform', 'rotate(' + angle + 'deg)')
                  .css('transform', 'rotate(' + angle + 'deg)');
  </code></pre>
  
  <p>where angle is dynamically calculated previously (its based on the position of the mouse).</p>
  
  <p>I need to be able to retrieve the angle. I tried this for starters:</p>
  
  <pre><code>var angle= $("#1-link-2").css('-webkit-transform');
      $('#node-title').html(angle);   //just to print it to the screen for me
  </code></pre>
  
  <p>and it gave me this text</p>
  
  <pre><code>matrix(0.5425908601788315, -0.839997118120292, 0.839997118120292, 0.5425908601788315, 0, 0)
  </code></pre>
  
  <p>How can I retrieve the angle in degrees?</p>