Web / Angular Interview questions
Features of Angular2.
Angular 2 is component based. Controllers and $scope are no longer in use and have been replaced by components and directives.
The specification for directives is considerably simplified and using @Directive annotation, a directive can be declared.
Improved dependency injection model in Angular2.
Use of TypeScript, a typed super set of JavaScript in Angular. The presence of types makes the code less prone to run-time errors.
TypeScript has generics and lambda feature.
With Angular 2 the Form Builder and Control Group are defined that makes it easy to build forms and it's validations .
More Related questions...