ApplicationManager and better memory management
This commit is contained in:
@@ -7,7 +7,10 @@ class PermissionsModalCtrl {
|
||||
}
|
||||
|
||||
dismiss() {
|
||||
this.$element.remove();
|
||||
const elem = this.$element;
|
||||
const scope = elem.scope();
|
||||
scope.$destroy();
|
||||
elem.remove();
|
||||
}
|
||||
|
||||
accept() {
|
||||
|
||||
Reference in New Issue
Block a user