This commit is contained in:
Mo Bitar
2020-02-09 16:46:12 -06:00
parent 1a87df0db8
commit 1497048c72
16 changed files with 307 additions and 210 deletions

View File

@@ -17,6 +17,7 @@ export class PureCtrl {
this.addAppStateObserver();
this.addAppEventObserver();
$scope.$on('$destroy', () => {
console.log("On destroy", this);
this.unsubApp();
this.unsubState();
});