Added call for requestAnimationFrame. Cancelled redraw if there is a scheduled frame. Removed redundant calls to angular.element
cleanup
Added a polyfill for requestAnimationFrame
Merge pull request #11 from baldurh/master

Added a call to requestAnimationFrame for better performance