Implemented $transition$ promise