Added a logo-loader to display global loading state

Also did some fixes/formatting :/

This should resolve #7 
Can we put it like this to make it clear?

```
// if (toState.resolve) {
  appCtrl.loading = true;
// }
```