Mock implementation using ui-router