Hi Sander
Thank you for your helping.
Is this feature missing in angular, and does angular team work on it ? I 
mean is 'In some application, there always has an API for fetching the 
configuration/user information at the first time', it is really cool to 
have this feature in angularjs to make our code clean.
ex:
In this repo, we can use AuthService.fetchUser than use
$http = angular.injector(["ng"]).get("$http")
$http.get('/api/settings/account.json').then (response) ->
  userInfo = response.data
.finally ->
  angular.element(document).ready ->
    angular.bootstrap(document, ["gnp-app"])

http://jsfiddle.net/lovedota/qpwwm8bn/

Thanks !

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to