Added loading-screen support using angular-promise-tracker.