Questions tagged [angular2-bootstrapping]
8 questions
8
votes
2 answers
Angular 2 Bootstrapping Options - AOT vs JIT
Just kick started with Angular 2.
What are the various Bootstrapping options in angular 2?
Why is that when I make a change and refresh the index.html takes little time to retrieve the HTML markups?
Differences between them

Aravind
- 40,391
- 16
- 91
- 110
5
votes
1 answer
How to pass configuration parameters to angular libraries?
I am building a wrapper library 'auth-lib' for some existing(and out of my control) authentication libraries(for example keycloak-angular ).
The authentication libraries I'm wrapping need to get initialized with configuration parameters during app…

Mohamed Talaat Harb
- 141
- 2
- 13
4
votes
3 answers
How to conditional bootstrap angular app?
I am trying to bootstrap my angular 5 app based on conditions. Basically I have two modules MobileModule and WebModule which contains UI components of web and mobile separately.
I am trying to bootstrap MobileModule if user has opened the app in…

Pankaj Prakash
- 2,300
- 30
- 31
3
votes
3 answers
Is it possible to load some component before "App" component? Angular2
My application starts from App component:
@NgModule({
bootstrap: [ App ]
...
This is my index.hmtl
...
Loading...
...
But I want to make splash screen instead of just "Loading ... " message:
...
…

John Doe
- 3,794
- 9
- 40
- 72
1
vote
1 answer
Angular 2 Bootstrap application from external data
How to load Angular 2 application only after getting external data?
For example, there is external application on the same html page, I need pass some data to my app service. Imagine, this is API URL, like 'some_host/api/' and my application should…

Lemmy
- 103
- 1
- 1
- 8
1
vote
1 answer
ERROR in Error encountered resolving symbol values statically. Calling function calls are not supported
I'm trying to get my Angular CLI (1.0.0-rc.1) app to build for produciton and am getting an AOT error. I actually have 2 apps: primary app and a npm installed app for some UI widgets. The UI widgets app requires some configuration data…

Tom Schreck
- 5,177
- 12
- 68
- 122
1
vote
0 answers
Angular2 Bootstrap component with input values
How can I pass input values to a component that needs to be bootstrapped in angular2
At the time of bootstrap, how can I pass some value to sampleInput?
@NgModule({
declarations: [SampleComponent],
imports : [],
exports : [],
…

sudharsan tk
- 494
- 6
- 14