AngularJS Router with Statechart Integration