Passing object between views (flash message)

前端 未结 3 1634
春和景丽
春和景丽 2021-02-07 12:51

What is the best way to pass message in the below scenario.

In the success scenario of $scope.p.$save, the result contains a message (res.message

3条回答
  •  悲哀的现实
    2021-02-07 12:57

    I don't believe there's a way to do this default to AngularJS. Your best bet would just be passing the message (encoded) through a query string.

提交回复
热议问题