This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm hoping there is an easy answer to this but for some reason a client of mine wants Angular integrating into their site but doesn't want it to run as an SPA.
Their answer is to run it using systemJS and load afresh on every page that require angular.
My problem is that in the boot.ts it bootstraps [AppComponent]. How do I allow AppComponent to be on each page that requires angular so they each run their own components.
I tried Boostrapping [ContactComponent, AboutComponent] but if I load the contact page it errors saying that the AboutComponent is missing and cannot fulfil a promise.
Is my client being daft? I suspect it's me not knowing the first thing about running Angular away from the CLI environment but any help is greatly appreciated.
Subreddit
Post Details
- Posted
- 7 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Angular2/co...