Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1bcf072

Browse files
Create README.md
0 parents commit 1bcf072

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

‎README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Angular Interview Questions & Answers
2+
3+
> Click :star:if you like the project. Pull Request are highly appreciated. Follow me [@kansiris87](https://twitter.com/kansiris87) for technical updates.
4+
5+
### Table of Contents
6+
7+
| No. | Questions |
8+
|---- | ---------
9+
|1 | [What is Angular Framework?](#what-is-angular-framework)|
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)|
12+
|4 | [Write a pictorial diagram of Angular architecture?](#write-a-pictorial-diagram-of-angular-architecture)|
13+
|5 | [What are the key components of Angular?](#what-are-the-key-components-of-angular)|
14+
15+
16+
1. ### What is Angular Framework?
17+
18+
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.
19+
20+
2. ### What is the difference between AngularJS and Angular?
21+
Angular is a completely revived component-based framework in which an application is a tree of individual components.
22+
23+
Some of the major difference in tabular form
24+
25+
| AngularJS | Angular |
26+
|---- | ---------
27+
| It is based on MVC architecture | This is based on Service/Controller |
28+
| This uses use JavaScript to build the application| Introduced the typescript to write the application |
29+
| Based on controllers concept| This is a component based UI approach|
30+
| Not a mobile friendly framework| Developed considering mobile platform|
31+
| Difficulty in SEO friendly application development| Ease to create SEO friendly applications|
32+
33+
3. ### What is TypeScript?
34+
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.
35+
You can install it globally as
36+
```
37+
npm install -g typescript
38+
```
39+
Let's see a simple example of TypeScript usage,
40+
```typescript
41+
function greeter(person: string) {
42+
return "Hello, " + person;
43+
}
44+
45+
let user = "Sudheer";
46+
47+
document.body.innerHTML = greeter(user);
48+
```
49+
The greeter method allows only string type as argument.
50+
51+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /