added test example of how to solve this ui-router problem with transitions.