Angular language service
Taking advantage of the analyzable nature of Angular, Google developed a language service for the framework. We can think of this service as a server, which indexes our project and provides autocompletion suggestions, type checking in templates, and other features, based on requests from a client. This client can be a plugin for our text editor or IDE.
The language service can keep track of the context of the given component that is in focus in the text editor and provide context-specific suggestions. For instance, it can provide autocompletion suggestions for directive selectors based on the available set of directives at the given part of the component tree.
The best thing about the language service is that it is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access