Erm, you realise that you're talking about scoped variables, right? The very opposite of global variables…
Yup that is why I had mentioned that they are following the practice of how ID generate variables (as globals) to document, just here in the scope of the components.
The point was if you don't check the template for IDs (assuming those global vars will be used in code) , you will find them used but never defined in the JS part which might get you confused at start. While the same thing in Angular, if you don't check the template, you can find variables in your component which aren't defined there. In both cases you will have to look in the template to find the references.
I hope it is more clear now :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.