Skip to content

marcpre/learning_angular

Repository files navigation

learning_angular

Install Angular

npm install -g @angular/cli@latest

Angular CLI

Create components

ng generate component servers

or

ng g c servers

Error Handling

Debug in the browser

Go to Chrome Tools and Sources and set breakpoint

Augury

Use Angular Augury for debugging

'--> stopped at 005/070

Directives

2 Types Structural and Attribute Directives

Structural Directives

  • Only affect the element they are added to

Attribute Directives

  • Look like normal HTML Attributes, but have a leading *
  • Affect the whole area in the DOM

Generate directive

ng g d directive-name

Observables

Used to emit datcd pipa.

Generate directive

ng g p filter

---> Stopped at 18/246

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published