Isolated scope unit testing
Refactoring
More promise testing
Documentation