1.引入$modal模块
如:
angular. module ('ModalCtrl',['$modal' ,'$scope' , function($modal ,$scope ){ }]);
2.执行调模态框 函数
3.创建模态框控制器