get data copying across controllers using a service