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 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 a topic in the
> Google Groups "Angular and AngularJS discussion" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/003xkKNAhIY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> angular+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/e7ebd55b-a341-431d-affc-8a664a087e85%40googlegroups.com
> 
> .
>

-- 
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 emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CANn_3yra8ApjOj0oBvM1t_gaNpoEQJ0A8w%2BL%2B0RiuWQoYgzaVQ%40mail.gmail.com.


[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 emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/e7ebd55b-a341-431d-affc-8a664a087e85%40googlegroups.com.


[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 UTC-4, Sander Elias wrote:
>
> 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 receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/ef8d7a58-9225-4847-b3ce-b21bd23eb8c6%40googlegroups.com.


[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 receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/0fdd304d-0fe3-47fd-aba9-7510760ea9db%40googlegroups.com.