docs: clarify when the `ngDoBootstrap` hook is invoked (#42362)

Closes #35242.

PR Close #42362
This commit is contained in:
Andrew Kushnir 2021-05-26 11:51:49 -07:00
parent bcfe4afda9
commit 516923e3dc
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ import {ApplicationRef} from '../application_ref';
/**
* @description
* Hook for manual bootstrapping of the application instead of using bootstrap array in @NgModule
* annotation.
* Hook for manual bootstrapping of the application instead of using `bootstrap` array in @NgModule
* annotation. This hook is invoked only when the `bootstrap` array is empty or not provided.
*
* Reference to the current application is provided as a parameter.
*