0

Angular 4 has released, I want to learn angular 2 first. For that i tried to use angular CLI, but when i create new app using

ng new test-app

It creates the app the angular 4 version. Which command should i use to create specifically angular 2.4 app.

2

1 Answer 1

1

Why would you want to learn Angular 2 first? Angular 4 is basically Angular 2 with some improvements and changes. Angular uses semantic versioning so 4.0 basically means some incompatible API changes were made. I think maybe you expect the difference between Angular 2 and Angular 4 is similar to the difference between Angular 1 and Angular 2? That is not the case. Angular 2 was a complete rewrite - Angular 4 is basically Angular 2.5.x if Angular wasn't using semantic versioning. So if you are just learning Angular now, I'd suggest going with 4.x

Also check out the release schedule for Angular for further understanding (2 major versions planned per year).

Sign up to request clarification or add additional context in comments.

1 Comment

It is due to project requirement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.