Fixes noConflict issue by removing direct reference to $window.angular

Simple change. Tests passed before and after. I didn't add a test since the proper way to test this is probably to run the entire test suite with `noConflict` to catch any reference bugs like this and that would be a much larger pull request.