patching init of angular