Angularjs
Sunday, September 3, 2017
difference between value vs constant
1.
Constant's value cannot be change. But value's data can be change.
2.
Constant can be injected anywhere. But value can be injected in controller, service and factory but can't be injected in config.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment