|
8 | 8 | |---- | ---------
|
9 | 9 | |1 | [What is Angular?](#what-is-angular) |
|
10 | 10 | |2 | [What is the difference between AngularJS and Angular?](#what-is-the-difference-between-angularjs-and-angular?)|
|
11 |
| -|3 | [What is typescript?](#what-is-typescript)| |
| 11 | +|3 | [What is TypeScript?](#what-is-typescript)| |
12 | 12 | |4 | [Write a pictorial diagram of Angular architecture?](#write-a-pictorial-diagram-of-angular-architecture)|
|
13 | 13 | |5 | [What are the key components of Angular?](#what-are-the-key-components-of-angular?)|
|
14 | 14 | |6 | [What are directives?](#what-are-directives)|
|
|
19 | 19 | |11| [What are lifecycle hooks available?](#what-are-lifecycle-hooks-available)|
|
20 | 20 | |12| [What is a data binding?](#what-is-a-data-binding)|
|
21 | 21 | |13| [What is metadata?](#what-is-metadata)|
|
22 |
| -|14| [What is angular CLI?](#what-is-angular-cli)| |
| 22 | +|14| [What is Angular CLI?](#what-is-angular-cli)| |
23 | 23 | |15| [What is the difference between constructor and ngOnInit?](#what-is-the-difference-between-constructor-and-ngoninit?)|
|
24 | 24 | |16| [What is a service](#what-is-a-service)|
|
25 | 25 | |17| [What is dependency injection in Angular?](#what-is-dependency-injection-in-angular)|
|
|
37 | 37 |
|
38 | 38 | 1. ### What is Angular Framework?
|
39 | 39 |
|
40 |
| - Angular is a **typeScript-based open-source** front-end platform that makes it easy to build applications with in web/mobile/desktop. The major features of this framework such as declarative templates, dependency injection, end to end tooling, and many more other features are used to ease the development. |
| 40 | + Angular is a **TypeScript-based open-source** front-end platform that makes it easy to build applications with in web/mobile/desktop. The major features of this framework such as declarative templates, dependency injection, end to end tooling, and many more other features are used to ease the development. |
41 | 41 |
|
42 | 42 | 2. ### What is the difference between AngularJS and Angular?
|
43 | 43 | Angular is a completely revived component-based framework in which an application is a tree of individual components.
|
|
52 | 52 | | Not a mobile friendly framework| Developed considering mobile platform|
|
53 | 53 | | Difficulty in SEO friendly application development| Ease to create SEO friendly applications|
|
54 | 54 |
|
55 |
| -3. ### What is typescript? |
| 55 | +3. ### What is TypeScript? |
56 | 56 | TypeScript is a typed superset of JavaScript created by Microsoft that adds optional types, classes, async/await, and many other features, and compiles to plain JavaScript. Angular built entirely in TypeScript and used as a primary language.
|
57 | 57 | You can install it globally as
|
58 | 58 | ```
|
59 | 59 | npm install -g typescript
|
60 | 60 | ```
|
61 |
| - Let's see a simple example of typescript usage, |
| 61 | + Let's see a simple example of TypeScript usage, |
62 | 62 | ```typescript
|
63 | 63 | function greeter(person: string) {
|
64 | 64 | return "Hello, " + person;
|
|
0 commit comments