Add remove() to ionic.modal.IonicModalController

Per api: http://ionicframework.com/docs/api/controller/ionicModal/

note the note in the ionic source code:

"Be sure to call [remove()](#remove) when you are done with each modal
 to clean it up and avoid memory leaks."

af1bfef327/js/angular/service/modal.js (L87)
This commit is contained in:
Arthur Cinader
2015-12-17 10:34:51 -08:00
parent 78ba6e4154
commit f05f79fd58
2 changed files with 2 additions and 0 deletions

1
ionic/ionic.d.ts vendored
View File

@@ -174,6 +174,7 @@ declare module ionic {
initialize(options: IonicModalOptions): void;
show(): ng.IPromise<void>;
hide(): ng.IPromise<void>;
remove(): ng.IPromise<void>;
isShown(): boolean;
}