File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 77 import { Component, OnInit } from '@angular/core';
88
99 @Component({
10- moduleId: module.id,
1110 selector: '${1:selector}',
1211 templateUrl: '${2:component-name}.component.html',
1312 })
10099 """
101100 ' Angular Bootstrapping' :
102101 ' prefix' : ' ng2-bootstrap'
103- ' description' : ' Angular bootstrap () snippet'
102+ ' description' : ' Angular bootstraps () snippet'
104103 ' descriptionMoreURL' : ' https://angular.io/docs/ts/latest/api/platform-browser-dynamic/index/bootstrap-function.html'
105104 ' body' : """
106105 import { enableProdMode } from '@angular/core';
107- import { bootstrap } from '@angular/platform-browser-dynamic';
106+ import { bootstraps } from '@angular/platform-browser-dynamic';
108107
109108 import { ${1:AppComponent} } from './${2:name}.component';
110109
125124 import 'rxjs/Rx'; // load the full rxjs
126125
127126 @Component({
128- moduleId: module.id,
129127 selector: '${1:selector}',
130128 templateUrl: '${2:component-name}.component.html',
131129 directives: [ROUTER_DIRECTIVES],
You can’t perform that action at this time.
0 commit comments