-
Notifications
You must be signed in to change notification settings - Fork 0
/
note.txt
53 lines (46 loc) · 1.15 KB
/
note.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
build-in pipes availiable
lowercase
uppercase
date
currency
json
percent
decimal
slice |
//Full list of Angular Event
(click)="myFunction()"
(dbclick)="myFunction()"
(submit)="myFunction()"
(blur)="myFunction()"
//Service
ng g service new-service
5
ng g module my-module
6
Test
ng Test
7
Build
--------------------------------------
Directives : chỉ thị
Component Directives : Thành phần
Structure Directives : cấu trúc
Attribute Directives : Thuộc tính
////////
<!-- <a [routerLink]="['/home']" routerLinkActive="router-link-active" >Go to Home</a>
<a [routerLink]="['/form']" routerLinkActive="router-link-active">Go to Form</a>
<a [routerLink]="['/reactiveform']" routerLinkActive="router-link-active">Go to Reactiveform</a>
<a [routerLink]="['/about']" routerLinkActive="router-link-active">Go to About</a>
<router-outlet></router-outlet>
-->app.component.html
//////////////////////
chay server ảo
json-server --watch db.json
///////////////////////////
git add .
git commit -m "thêm"
git remote add origin https://github.com/tranvanha1508/QL.githttps://github.com/tranvanha1508/QL.git
git push -u origin master