Thursday, November 5, 2015

AngularJS - What is constant?

constants are used to pass values at config phase considering the fact that value cannot be used to be passed during config phase.

mainApp.constant("configParam", "constant value");

No comments:

Post a Comment