npm install -g @angular/cli@latest
ng generate component servers
or
ng g c servers
Go to Chrome Tools and Sources
and set breakpoint
Use Angular Augury for debugging
'--> stopped at 005/070
2 Types Structural and Attribute Directives
- Only affect the element they are added to
- Look like normal HTML Attributes, but have a leading
*
- Affect the whole area in the DOM
ng g d directive-name
Used to emit datcd pipa.
ng g p filter
---> Stopped at 18/246