As the title says, I\'ve started learning Angular using a video course and I don\'t really seem to understand the behavior of some code.
For an app component, I have