($scope: IScope, controllerInstance?: any)
| 144 | } |
| 145 | |
| 146 | onDestroy($scope: IScope, controllerInstance?: any) { |
| 147 | if (controllerInstance && isFunction(controllerInstance.$onDestroy)) { |
| 148 | controllerInstance.$onDestroy(); |
| 149 | } |
| 150 | $scope.$destroy(); |
| 151 | cleanData(this.element); |
| 152 | } |
| 153 | |
| 154 | prepareTransclusion(): ILinkFn | undefined { |
| 155 | const transclude = this.directive.transclude; |
nothing calls this directly
no test coverage detected