bootstrapping angular asynchronously p3