Skip to content

Commit ae1e339

Browse files
committed
Binding scope on modal obj
1 parent 5f22790 commit ae1e339

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

dist/js/ionic-angular.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2013 Drifty Co.
33
* http://drifty.com/
44
*
5-
* Ionic, v0.9.14
5+
* Ionic, v0.9.17
66
* A powerful HTML5 mobile app framework.
77
* http://ionicframework.com/
88
*
@@ -239,6 +239,8 @@ angular.module('ionic.service.modal', ['ionic.service.templateLoad', 'ngAnimate'
239239
options.el = element[0];
240240
var modal = new ModalView(options);
241241

242+
modal.scope = scope;
243+
242244
// If this wasn't a defined scope, we can assign 'modal' to the isolated scope
243245
// we created
244246
if(!options.scope) {

dist/js/ionic-angular.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/ionic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2013 Drifty Co.
33
* http://drifty.com/
44
*
5-
* Ionic, v0.9.14
5+
* Ionic, v0.9.17
66
* A powerful HTML5 mobile app framework.
77
* http://ionicframework.com/
88
*
@@ -16,7 +16,7 @@
1616
window.ionic = {
1717
controllers: {},
1818
views: {},
19-
version: '0.9.14'
19+
version: '0.9.17'
2020
};;
2121
(function(ionic) {
2222

dist/js/ionic.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/ext/angular/src/service/ionicModal.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ angular.module('ionic.service.modal', ['ionic.service.templateLoad', 'ngAnimate'
4545
options.el = element[0];
4646
var modal = new ModalView(options);
4747

48+
modal.scope = scope;
49+
4850
// If this wasn't a defined scope, we can assign 'modal' to the isolated scope
4951
// we created
5052
if(!options.scope) {

0 commit comments

Comments
 (0)