Skip to content

Commit

Permalink
ionicView: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Mar 14, 2014
1 parent fd379de commit 12e4713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ext/angular/src/service/ionicView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};
Expand Down

0 comments on commit 12e4713

Please sign in to comment.