plug-and-play transition for AngularJS