How to update to angular 5?



How to update to angular 5?..

Answer / Sachin Pawar

To update to Angular 5 from Angular 4, you can follow these steps: 1. Install the latest version of Node.js and npm; 2. Backup your project; 3. Run `ng update @angular/cli` to upgrade the CLI; 4. Run `npm install @angular/common@5 @angular/compiler@5 @angular/core@5 @angular/forms@5 @angular/platform-browser@5 --save` to update Angular core modules and their dependencies; 5. Run `ng update` to update all other dependencies.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

List some tools for testing angularjs applications?

1 Answers  


Which Angular Directive Would You Use To Hide An Element From The DOM Without Modifying Its Style?

1 Answers  


Ln component and service which logic that we have to write?

1 Answers  


When will nginit be called?

1 Answers  


What is the difference between $watch and $observe?

1 Answers  


Can I use angularjs with php?

1 Answers  


What is a component angular?

1 Answers  


What is the possible order of life-cycle hooks?

1 Answers  


Name the building blocks of Angular?

1 Answers  


How would you make use of onnginit()?

1 Answers  


Please explain package.json file in angular?

1 Answers  


What is routing in angular 2?

1 Answers  


Categories