I\'m using the \"Angularised\" version of the Spin control, as documented here: http://blog.xvitcoder.com/adding-a-weel-progress-indicator-to-your-angularjs-application/
You should inject $document in your controller, and use it instead of original document object.
var myElement = angular.element($document[0].querySelector('#MyID'))
If you don't need the jquery style element wrap, $document[0].querySelector('#MyID') will give you the DOM object.