Re: [AngularJS] Re: bootstrapping a different module on main module exception

2019-08-25 Thread Silvio do Amaral e Silva
In the end I didn't have any choice but to provide a empty default configuration to my site when the real REST config call failed, redirecting the site to a 500 page and disabling routing. Thanks for your help, Silvio Silva On Wed, Aug 21, 2019 at 12:57 AM Sander Elias wrote: > Yes, that

[AngularJS] Re: bootstrapping a different module on main module exception

2019-08-20 Thread Sander Elias
Yes, that would work with dynamic loading. It will become easier once the modules become optional (post 9). Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving

[AngularJS] Re: bootstrapping a different module on main module exception

2019-08-19 Thread Silvio Amaral
So, I'm understanding that this is only available to use when I use AOT compilation. In that case, would it work with dynamic module loading? Unfortunately my site is way too heavy and needs to be served dynamically. thanks for your reply, anyway On Wednesday, August 14, 2019 at 4:48:26 AM

[AngularJS] Re: bootstrapping a different module on main module exception

2019-08-14 Thread Sander Elias
Hi Silvio use a bootStrapModuleFactory instead: https://angular.io/api/core/PlatformRef#bootstrapmodulefactory Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop