multiple Angular bootstrap

22 views
Skip to first unread message

Reza Razavipour

unread,
Apr 4, 2017, 11:01:53 PM4/4/17
to Angular and AngularJS discussion
This is a hard question to explain.

I have a java framework and I am using my Angular component in. 
I have two java jar files that each include an angular application, i.e. main.ts that contains 
platformBrowserDynamic().bootstrapModule(AppModule); called twice...

In the above case, I only see one of the angular application, the second one is just an empty html page. 
I suspect this is bootstrap question/issue, multiple calls to bootstrapModule and only the first call works.

Does this make any sense? Any explanation or work around?

Sander Elias

unread,
Apr 6, 2017, 7:00:28 AM4/6/17
to Angular and AngularJS discussion
Hi Reza,

I was told this is definitely possible, but I don't have the details. I'm currently on ng Conf, I will try to figure it out, but then I will probably forget who asked me, ping back to me next week if it's still needed.

Regards
Sander

Reza Razavipour

unread,
Apr 6, 2017, 11:22:04 AM4/6/17
to ang...@googlegroups.com
Will do, thank you

Regards,
Reza

--
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/Ue2G1QknXy0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+unsubscribe@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages