$modal

参数

scope

The parent scope instance to be used for the modal's content. Defaults to $rootScope

原文地址:https://www.cnblogs.com/jzm17173/p/6566871.html