Create Angular project log
https://www.youtube.com/watch?v=S5dzfuh3t8U

Need to use npm install -g @angular/cli@latest -- force

npm update npm -g not work
Go to https://nodejs.org/en/download/


Open visiual code
\
\Create component
ng g c payment-details
ng g c payment-details/payment-detail-form
ng g c payment-details
ng g c payment-details/payment-detail-form
Create service
ng g s shared/payment-detail
Create Model
ng g class shared/payment-detail --type=model
ng g class shared/payment-detail --type=model
Create Auth
ng g g auth/auth > CanActivate
open server
ng serve -o
留言
張貼留言