What is the difference between Angular 1 and Angular 2? - ProProfs Discuss
Advertisement

What is the difference between Angular 1 and Angular 2?

What is the difference between Angular 1 and Angular 2?

Change Image    Delete

Asked by B. Wright, Last updated: Nov 30, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

Howard Reyes

Howard Reyes

Howard Reyes
Howard Reyes, Science Teacher, California

Answered Sep 05, 2019

Some people may assume that because of the names that angular 2 is the updated version of angular 1 but this is not true. Angular 2 is known to be a rewritten form of angular 1. The structure of angular 2 is different from angular 1. Angular 1 is known to be based on MVC while Angular 2 is known to be based on the controller or the service that is being used.

Some people may assume that because of the names that angular 2 is the updated version of angular 1
Angular 1 makes use of JavaScript in order to create and build the application while in Angular 2, TypeScript is used instead of JavaScript. There may be some differences with where Angular 1 and 2 can both be used.

upvote downvote
Reply 

W. Kaye

W. Kaye

Here to answer and learn

W. Kaye
W. Kaye, Ex-Marine, Post Graduate, Chapel Hill

Answered Aug 22, 2019

Angular 2 is different from Angular 1 because it is written entirely in Typescript and it meets the ECMA Script 6 specification. It makes component-based development and object orientation that much easier. Angular 2 is solely component-based. Components and directives have replaced them, and there is improved dependency injection in Angular 2.

Angular 2 is different from Angular 1 because it is written entirely in Typescript and it meets the
There are also more opportunities for component/object-based work. There are also many more features in Angular 2. Within Angular 2, the form builder and control group are defined. The combination of Angular 2 with Typescript provides a significant opportunity in object-oriented programming in the front end. The declarative nature makes it more advantageous.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.