0
我有以下的Angular模块。我如何从我的控制器中调用示例APIHost?调用模块常量?
angular.module('configuration', [])
.constant('APIHost','http://api.com')
.constant('HostUrl','http://example.com')
.constant('SolutionName', 'MySite');