Posts

Showing posts with the label Angular 6

Angular Cheat Sheet

Image
Cheat Sheet Bootstrapping import {  platformBrowserDynamic  } from '@angular/platform-browser-dynamic'; platformBrowserDynamic ().bootstrapModule (AppModule); Bootstraps the app, using the root component from the specified  NgModule . NgModules import {  NgModule  } from '@angular/core'; @ NgModule ({ declarations: ..., imports: ..., exports: ..., providers: ..., bootstrap: ...}) class MyModule {} Defines a module that contains components, directives, pipes, and providers. declarations:  [MyRedComponent, MyBlueComponent, MyDatePipe] List of components, directives, and pipes that belong to this module. imports:  [ BrowserModule , SomeOtherModule] List of modules to import into this module. Everything from the imported modules is available to  declarations  of this module. exports:  [MyRedComponent, MyDatePipe] List of components, directives, and pipes visible to modules that import this module. provide...

Version 6 of Angular Now Available

Image
The 6.0.0 release of Angular is here! This is a major release focused less on the underlying framework, and more on the toolchain and on making it easier to move quickly with Angular in the future. As a part of this release, we are synchronizing the major versions going forward for the framework packages ( @angular/core ,  @angular/common ,  @angular/compiler , etc), the Angular CLI, and Angular Material + CDK. All are releasing as 6.0.0 today. We made this change to clarify cross-compatibility. The minor and patch releases for these projects will be issued based on the project’s needs. See the full list of changes in our changelogs:  framework ,  material+cdk ,  cli . ng update ng update <package>  is a new CLI command that analyzes your  package.json and uses its knowledge of Angular to recommend updates to your application. To see it in action, check out our  update guide . Not only will  ng update  help you ado...

Popular posts from this blog

How to Secure Session Management in Node

Angular 9 - User Registration and Login Example & Tutorial

How to download a file using command prompt (cmd) Windows?