Started implementation of Angular's ui-utils for managing states