New In Angular 6:¶
-
ng-template added, template deprecated
-
httpClient (httpClientModule)
- Nothing Wrong with httpModule. Still use it.
- It adds new functionalities - interceptor, response typing, etc.
- more
- new RsJx
- could use RxJs-compact package for ng5 project so that no changed needed.
-
pipe operator
this.http.get().pipe( map( (data)=> {}), catchError( (error) => { return throwError('error msg') } ), retry(3) )
-
{ providedIn : 'root' } --> pass this inside @Injectable to provide service at root Module.
-
Angular Element
- yet to complete this tutorial.