ionicView: fix typo

This commit is contained in:
Andy Joslin
2014-03-14 15:42:42 -06:00
parent fd379de382
commit 12e47134cd

View File

@@ -105,7 +105,7 @@ angular.module('ionic.service.view', ['ui.router', 'ionic.service.platform'])
};
View.prototype.destroy = function() {
if(this.scope) {
this.scope.destroy && this.scope.destroy();
this.scope.$destroy && this.scope.$destroy();
this.scope = null;
}
};