Scene State Manager for AngularJS