Member-only story
Most Asked Angular Interview Questions ?
1. What is Angular?
Angular is a javascript(actually a Typescript bases open-source full-stack web application) framework which makes you able to create reactive Single Page Application nothing but SPA. Angular is completely based on Components. It consists of Several Components which form a tree structure with parent and child components. Angular’s versions beyond 2+ are generally known as Angular only.
2. Difference between AngularJS vs Angular?
AngularJS (1.x)
Angular (2–9)
Language
Javascript
Typescript
Architecture
Controller
Component
Mobile Complaint
No
Yes
CLI
No
Yes
Lazy Loading
No
Yes
SEO
No
Yes
Server Side
No
Yes
3. Explain directives in Angular?
Directives help you to attach behavior to your HTML DOM or else in simply we can say Directives are Angular Syntaxes which we write inside HTML
- <input [(ngModel)] =”value” type=”text” value=””><br>