InterviewHubPRO
Section Overview
Q115

Question 115 of 283

Part 5: Animations, Service Workers, Ivy Engine & Builders (101 - 123)

41%
Angular & Signals (283 Qs)•Part 5: Animations, Service Workers, Ivy Engine & Builders (101 - 123)

How do you install angular language service in the project?

You can install Angular Language Service in your project with the following npm command,

javascript
npm install --save-dev @angular/language-service

After that add the following to the "compilerOptions" section of your project's tsconfig.json

javascript
"plugins": [
   {"name": "@angular/language-service"}
]

Note: The completion and diagnostic services works for .ts files only. You need to use custom plugins for supporting HTML files.