https://angular.io

安装

npm install -g @angular/cli

新建项目

ng new my-app

https://angular.io/guide/entry-components

The entryComponents array

Though these two mechanisms account for most entry components, if your app happens to bootstrap or dynamically load a component by type imperatively, you must add it to entryComponents explicitly.

传递变量到dialog

https://material.angular.io/components/dialog/overview


ngClass用法 https://angular.io/api/common/NgClass


下拉列表默认值 https://stackblitz.com/edit/how-to-set-default-value-of-mat-select-when-options-are-retriev?file=app%2Ftable-basic-example.html