Defer more auth logic to snjs

This commit is contained in:
Mo Bitar
2020-02-12 00:26:08 -06:00
parent d91d141417
commit 0fcfd98e5d
5 changed files with 239 additions and 341 deletions

View File

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