grid
grid copied to clipboard
Get app config from service
Having our config come from Play is not a great dependency.
There is a good discussion going on about it with a few solutions / hacks.
Pinging @theefer as we we're talking about this yesterday.
Most of the solutions mentioned in that SO thread are quite hacky or simplistic, in that they expose a promise which means everything depending on that needs to also be made asynchronous. Slightly annoying.
I might take a look at https://github.com/philippd/angular-deferred-bootstrap
In practice, we don't have that much in the HTML file. Mixpanel should be easy to move as it's already initialised asynchronously. Sentry would take a bit more effort. Not much else. So I don't think it's necessarily worth a huge effort to hide away one small half-secret piece of information...