diff --git a/frontend/angular-io.js b/frontend/angular-io.js index f894bb8..f9e9b99 100644 --- a/frontend/angular-io.js +++ b/frontend/angular-io.js @@ -6,7 +6,7 @@ ``` -npm install --save @angular/cli // declarative and flexible JavaScript framework for building UI +npm install --save @angular/cli // install command line interface (CLI) for Angular apps ng serve // serve the app ng build // build the release ``` @@ -46,13 +46,15 @@ class MyModule {} // List of components, directives, and pipes that belong to this module. declarations: [MyRedComponent, MyBlueComponent, MyDatePipe] -// List of modules to import into this module. Everything from the imported modules is available to declarations of this module. +// List of modules to import into this module. Everything from the imported modules is available +// to declarations of this module. imports: [BrowserModule, SomeOtherModule] // List of components, directives, and pipes visible to modules that import this module. exports: [MyRedComponent, MyDatePipe] -// List of dependency injection providers visible both to the contents of this module and to importers of this module. +// List of dependency injection providers visible both to the contents of this module and to +// importers of this module. providers: [MyService, { provide: ... }] // List of components to bootstrap when this module is bootstrapped. @@ -71,16 +73,19 @@ bootstrap: [MyAppComponent] // Binds attribute role to the result of expression myAriaRole. //
-// Binds the presence of the CSS class extra-sparkle on the element to the truthiness of the expression isDelightful. +// Binds the presence of the CSS class extra-sparkle on the element to the truthiness of the +// expression isDelightful. //
// Binds style property width to the result of expression mySize in pixels. Units are optional. //
-// Calls method readRainbow when a click event is triggered on this button element (or its children) and passes in the event object. +// Calls method readRainbow when a click event is triggered on this button element (or its +// children) and passes in the event object. //