You need both of them:
In the first, which is a module and is basically your root module
bootstrap: [ AppComponent ]
, , , AppComponent, .
, AppComponent, , , , , , .
, Angular :
platformBrowserDynamic().bootstrapModule(AppModule)
/ angular2.
Angular2 ? , .
Java, .
, , ( ).
, platformBrowserDynamic, - , , , ( appComponent).
, , NativeScript Angular2Universal , - (platformBrowserDynamic).
, Universal, :
platformUniversalDynamic().bootstrapModule(AppModule)
, -, :
bootstrapWorkerApp(AppModule, []);