You can do this with the extension
Angular Language Service extension for VS Code.
which has the feature
This extension provides a rich editing experience for Angular templates, both inline and external templates including:
Completions lists
AOT Diagnostic messages
Quick info
Go to definition
Angular Language Service - A handy extension for angular developers