I have tried the answers given on the previous threads but none of them works can somebody please help on this matter?
Issue is related to Angular Language Service extension version of VS code. You can rollback your Angular Language Service extension version to v17.1.1.
I have just rolled back my version to v17.1.1 and its working fine for me .