#1604 | Using ui-router in orders. Added debug helper.