MCPcopy Create free account
hub / github.com/angular/angular / Ng2AppModule

Class Ng2AppModule

packages/examples/upgrade/static/ts/full/module.ts:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126})
127// #docregion bootstrap-ng1
128export class Ng2AppModule {
129 // #enddocregion ng2-module
130 constructor(private upgrade: UpgradeModule) {}
131
132 ngDoBootstrap() {
133 // We bootstrap the AngularJS app.
134 this.upgrade.bootstrap(document.body, [ng1AppModule.name]);
135 }
136 // #docregion ng2-module
137}
138// #enddocregion bootstrap-ng1
139// #enddocregion ng2-module
140

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected