I’m using Ember-cli for organizing my application. I’ve extended App to have a token variable that I can access globally.
Now, I was able to access it like this:
window.MyAPP.token. However, it feels a little wrong and I was wondering if there’s a different way to access
token from other places.