84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
angularjs中value和constant除了是否能被修改之外还有什么区别?
Another point may be the effective time. constant因为是注册的是静态值(常量),所以它可以在其他value,factory,service生效之前生效。话优点绕,简单说,就是constantcan be injected and used during config, but the other ones cannot
constant
value
factory
service
Another point may be the effective time.
constant
因为是注册的是静态值(常量),所以它可以在其他value
,factory
,service
生效之前生效。话优点绕,简单说,就是constant
can be injected and used during config, but the other ones cannot