1. 在声明创建controller指明引用$rootscope reviewInterfaceDo.controller('reviewInterfaceDo', function($scope, $rootScope, $http, $uibModal, $uibModalInstance, toastr,parameterRecord,user) 2. 在controller中声明创建rootscope型变量commonScope ,并配置此scope内的函数和属性 //define ro…