Implement a returnUrl service to allow users to return to pages that require login

Self explanatory:
ReturnUrl.set({ name: $state.current.name, params: $stateParams }) from a controller that requires the user to log in
ReturnUrl.return() right after signin/signup