One of the most common problem when you do routing in angular is to save your state between controllers. This is generally done with a service but in many case it seems wrong to just create a service to pass data around. Solution such as ui-router seems to carry a lot of issues. What could be done eventually is to allow saving the $scope of a specified controller whenever it change and retrieve it easily.
One of the most common problem when you do routing in angular is to save your state between controllers. This is generally done with a service but in many case it seems wrong to just create a service to pass data around. Solution such as ui-router seems to carry a lot of issues. What could be done eventually is to allow saving the $scope of a specified controller whenever it change and retrieve it easily.