Core topic
Core framework APIs for bootstrapping and running AngularDart applications.
See the AngularDart Guide for a comprehensive introduction.
Classes
- ApplicationRef Core
- A reference to an Angular application running on a page.
Functions
-
runApp<
T extends Object> (ComponentFactory< CoreT> componentFactory, {InjectorFactory createInjector = _identityInjector}) → ComponentRef<T> -
Starts a new AngularDart application with
componentFactoryas the root. -
runAppAsync<
T extends Object> (ComponentFactory< CoreT> componentFactory, {required Future<void> beforeComponentCreated(Injector), InjectorFactory createInjector = _identityInjector}) → Future<ComponentRef< T> > -
Asynchronous alternative to runApp, supporting
beforeComponentCreated.