NgOnInit [Initialize app components here]
This is the entry point of any angular application, we do the basic scaffolding hereWatch for changes in the form
We watch for change and if a change occurs we publish it along with a sequence no to keep track of the form data and prevent stale packets
Handle simple text data from form controls
Later in this course I will also talk about transferring images and videos, for now this will suffice
Angular's magical patch value
Patch value allows us to modify a specific controls of the form without resetting other controls, unlike setValue()
Subscribing to socket
Here we have various events defined that the socket can emit or listen to.