Hooking into the Angular bootstrap process