Skip to main content
InterviewHubPRO
Section Overview
Q145

Question 145 of 283

Part 6: Decorators, Dependency Injection & Tooling (124 - 150)

51%
Angular Master (283 Qs)•Part 6: Decorators, Dependency Injection & Tooling (124 - 150)

How do you upgrade angular version?

mid LevelMost AskedCode ExampleDependency InjectionTypeScript

The Angular upgrade is quite easier using Angular CLI ng update command as mentioned below. For example, if you upgrade from Angular 7 to 8 then your lazy loaded route imports will be migrated to the new import syntax automatically.

bash
$ ng update @angular/cli @angular/core