Add shim for loading angular reference correctly