simulate delay and resolve data in ui router