6
6
< div class ="form-group ">
7
7
< label class ="control-label "> Modal type</ label >
8
8
< select name ="" class ="form-control "
9
- ng-model ="ngc.type ">
9
+ ng-change ="typeChange() "
10
+ ng-model ="type ">
10
11
< option value ="default "> default</ option >
11
12
< option value ="blue "> blue</ option >
12
13
< option value ="orange "> orange</ option >
19
20
< div class ="form-group ">
20
21
< label class ="control-label "> Theme</ label >
21
22
< select name ="" class ="form-control "
22
- ng-model ="ngc.theme ">
23
+ ng-change ="themeChange() "
24
+ ng-model ="theme ">
23
25
< option value ="light "> light</ option >
24
26
< option value ="dark "> dark</ option >
25
27
< option value ="supervan "> supervan</ option >
32
34
< div class ="col-md-6 ">
33
35
< div class ="form-group ">
34
36
< label class ="control-label "> Icon</ label >
35
- < input type ="text " class ="form-control " ng-model ="ngc. icon ">
37
+ < input type ="text " class ="form-control " ng-model ="icon " ng-change =" iconChange() ">
36
38
</ div >
37
39
</ div >
38
40
< div class ="col-md-6 ">
39
41
< div class ="form-group ">
40
42
< label class ="control-label "> Title</ label >
41
- < input type ="text " class ="form-control " ng-model ="ngc. title ">
43
+ < input type ="text " class ="form-control " ng-model ="title " ng-change =" titleChange() ">
42
44
</ div >
43
45
</ div >
44
46
< div class ="col-md-4 ">
45
47
< div class ="checkbox ">
46
48
< label >
47
- < input type ="checkbox " ng-model ="ngc. closeIcon ">
49
+ < input type ="checkbox " ng-model ="closeIcon " ng-change =" closeIconChange() ">
48
50
Close icon
49
51
</ label >
50
52
</ div >
51
53
</ div >
52
54
< div class ="col-md-4 ">
53
55
< div class ="checkbox ">
54
56
< label >
55
- < input type ="checkbox " ng-model ="ngc. rtl ">
56
- Rtl {{ngc.rtl}}
57
+ < input type ="checkbox " ng-model ="rtl " ng-change =" rtlChange() ">
58
+ Rtl
57
59
</ label >
58
60
</ div >
59
61
</ div >
60
62
< div class ="col-md-12 ">
61
63
< div class ="form-group ">
62
64
< label class ="control-label "> Close icon class</ label >
63
- < input type ="text " class ="form-control " ng-model ="ngc. closeIconClass ">
65
+ < input type ="text " class ="form-control " ng-model ="closeIconClass " ng-change =" closeIconClassChange() ">
64
66
</ div >
65
67
</ div >
66
68
</ div >
0 commit comments