mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ionicView: fix typo
This commit is contained in:
2
js/ext/angular/src/service/ionicView.js
vendored
2
js/ext/angular/src/service/ionicView.js
vendored
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user