re: DOM elements with ID's are global variables VIEW POST

TOP OF THREAD FULL DISCUSSION
re: 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 ...

Not really. In standard HTML, id attributes are made into global variables. In angular, component-scoped variables in the typescript/JavaScript are made available to the template HTML via template directives. They're two completely different things.

code of conduct - report abuse