I am using the ember-app-kit to build an SPA and am also using azure mobile services on the backend of it to hold my data. I am currently forced into declaring:
var client = new WindowsAzure.MobileServiceClient(
"xxxxxx",
"xxxxxx"
);
I have been doing this declaration in all of my models and controllers. How can make this globally relevant to my application?