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<T> componentFactory, {InjectorFactory createInjector = _identityInjector}) ComponentRef<T> Core
Starts a new AngularDart application with componentFactory as the root.
runAppAsync<T extends Object>(ComponentFactory<T> componentFactory, {required Future<void> beforeComponentCreated(Injector), InjectorFactory createInjector = _identityInjector}) Future<ComponentRef<T>> Core
Asynchronous alternative to runApp, supporting beforeComponentCreated.