ama
ama copied to clipboard
Angular app wide data / variables
Say you have an Angular App and you run a GET to retrieve a Users Profile from a server.
You want to be able to access this User Data from any component / directive / service within the Application.
Would you have any pointers on allowing this User Data to be accessible throughout and remain editable?
I've considered using module.value() but then there is $rootScope and also house the data in a Service.