Add service for passing state between controllers