Random notes for angular

PHOTO EMBED

Mon Feb 20 2023 04:12:17 GMT+0000 (Coordinated Universal Time)

Saved by @Jeremicah #angular

ng serve open | ng s -o //Opening server in localhost angular
ng generate component component-name | ng g c component-name //create a new component
*ng //always add asterisks at the beginning
[class.some-css-class] //class binding, add and remove a CSS class conditionally
ng generate service hero //share information among classes that don't know each other
content_copyCOPY