In Angular you are not querying the DOM from the js code.
Aha! In angular, we don't have to have a reference like document.getElementById("blah") that you can then attach a click listener to. This is hugely beneficial for two reasons:
- It improves speed and performance.
- It makes for a more decoupled, separation of concerns design.