Copyright and small header.
Adding promises handling. The code will be cleaner in the future. We can’t use Angular promises before Angular is bootstrapped unfortunately.
Version bump.