Hi Friends, Today i will you about Angular JS 4 Features Depreciations and New Changes. As we know Angular js 4 is going to launch on March,2017 but most of them don’t know what changes google has been made in angular. You can read the angular 4 features and it depreciation. After reading you know what new things and changes are there in angular js 4. It is same as angular 2 but some changes are there like new view engine, typescript and many more. You can read it below.
Angular applications, project or website are set of components. Component is the mixture of an HTML template, typescript code and a component class that controls a portion of the screen.
1) Now you can use an if/else style syntax, and assign local variables in your template binding syntax.
<ng-template #loading>Loading...</ng-template> <div *ngIf="clientObservable | async; else loading; let client"> {{ client.name }} </div>
2) In Angular 2:
@Component() class SomeComponent extends OnInit {}
In Angular 4:
@Component() class SomeComponent Implements OnInit {}
Note: I have covered most of the features, depreciation and changes but some are left which is not reveal by google.
Read About Other Interesting Things below.
I hope you will like Angular JS 4 Features Depreciations and New Changes. If You found it useful please subscribe my blog.
Categories: Angular
Leave a Reply