Constants

BROWSER_APP_PROVIDERS → List

An array of providers that should be passed into application() when bootstrapping a component.

const [BROWSER_APP_COMMON_PROVIDERS, COMPILER_PROVIDERS, RUNTIME_COMPILER_PROVIDERS, const Provider(XHR, useClass: XHRImpl)]
BROWSER_PROVIDERS → List

A set of providers to initialize the Angular platform in a web browser.

const [PLATFORM_COMMON_PROVIDERS, const Provider(PLATFORM_INITIALIZER, useFactory: createInitDomAdapter, multi: true, deps: const [TestabilityRegistry])]
BROWSER_SANITIZATION_PROVIDERS → List

const [const Provider(SanitizationService, useExisting: DomSanitizationService), const Provider(DomSanitizationService, useClass: DomSanitizationServiceImpl)]
CACHED_TEMPLATE_PROVIDER → List

const [const Provider(XHR, useClass: CachedXHR)]
DOCUMENT OpaqueToken

A DI Token representing the main rendering context. In a browser this is the DOM Document.

const OpaqueToken("DocumentToken")
RUNTIME_COMPILER_PROVIDERS → List

const [RuntimeCompiler, const Provider(ComponentResolver, useExisting: RuntimeCompiler)]

Functions

bootstrap(Type appComponentType, [ List customProviders ]) → Future<ComponentRef>

Bootstrapping for Angular applications.

browserPlatform() PlatformRef

disableDebugTools() → void

Disables Angular 2 tools.

enableDebugTools(ComponentRef ref) → void

Enabled Angular 2 debug tools that are accessible via your browser's developer console.

Enums

TemplateSecurityContext

A TemplateSecurityContext specifies a category of security vulnerabilities if the content is not sanitized.

Classes

AngularEntrypoint

Marks a function or method as an Angular 2 entrypoint.

BrowserDomAdapter

SanitizationService

SanitizationService is used by the views to sanitize values as create SafeValue equivalents that can be used to bind to in templates.

Title

A service that can be used to get and set the title of a current HTML document.