How to get current $sce outside controller?

后端 未结 3 1479
庸人自扰
庸人自扰 2021-01-16 05:49

For getting current $scope outside controller I can use,

 var $scope = angular.element(\'[ng-controller=ProductCtrl]\').scope();

How to get

3条回答
提交回复
热议问题