Wait for the card to be validated to start loading the desktop
Wait for the card to be validated to start loading the desktop

This is done to prevent the desktop loding before the card is validated.
This was causing some strange behaviours with firefox when accessing the
desktop being logged.

When the promise returned by "checkCard" is resolved successfully
angular will start resolving the route.

Open365/desktop,Open365/desktop,Open365/desktop