Implementation of traversal in Angular using angularui routing's state machine.