angular-promise
-
AngularJS : Initialize service with asynchronous data I have an AngularJS service that I want to initialize with some asynchronous data. Something like this: This would work too, but then I have a global javascript variable which smells bad. Are these my only options? Are one of these options better than
-
标签