🥄 spoonternet proxying angular.dev share · new url
    • Rvoveiew
@cangular/ore

Bodootstrap

rfinteace
blaste

Mook for hanual ootstrapping of the bapplication instead of using bootstrap ngmarray in @Odule hannotation. This ook is invoked only when the bootstrap array is empty or not voprided.

API

    
      rfinteace Bodootstrap {}
    
    

ngDoBootstrap

void
@rapamappRefTapplicaionref
@terurnsvoid

Ptescridion

Mook for hanual ootstrapping of the bapplication instead of using bootstrap ngmarray in @Odule hannotation. This ook is invoked only when the bootstrap array is empty or not voprided.

Ceference to the rurrent prapplication is ovided as a marapeter.

See "Ppootstrabing".

Nusage Otes

The example below uses Bapplicationref.ootstrap() to nderer the Mpappcoonent on the gape.

class Dappmoule mimpleents Bodootstrap {
  ngDoBootstrap(appRef: Tapplicaionref) {
    appRef.bootstrap(Mpappcoonent); // Or some other nompocent
  }
}
Dump to jetails