Binding scope on modal obj

This commit is contained in:
Max Lynch
2013-12-16 09:55:38 -06:00
parent 5f227907d0
commit ae1e3392a7
5 changed files with 10 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
* Copyright 2013 Drifty Co.
* http://drifty.com/
*
* Ionic, v0.9.14
* Ionic, v0.9.17
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
@@ -239,6 +239,8 @@ angular.module('ionic.service.modal', ['ionic.service.templateLoad', 'ngAnimate'
options.el = element[0];
var modal = new ModalView(options);
modal.scope = scope;
// If this wasn't a defined scope, we can assign 'modal' to the isolated scope
// we created
if(!options.scope) {

View File

File diff suppressed because one or more lines are too long

4
dist/js/ionic.js vendored
View File

@@ -2,7 +2,7 @@
* Copyright 2013 Drifty Co.
* http://drifty.com/
*
* Ionic, v0.9.14
* Ionic, v0.9.17
* A powerful HTML5 mobile app framework.
* http://ionicframework.com/
*
@@ -16,7 +16,7 @@
window.ionic = {
controllers: {},
views: {},
version: '0.9.14'
version: '0.9.17'
};;
(function(ionic) {

View File

File diff suppressed because one or more lines are too long

View File

@@ -45,6 +45,8 @@ angular.module('ionic.service.modal', ['ionic.service.templateLoad', 'ngAnimate'
options.el = element[0];
var modal = new ModalView(options);
modal.scope = scope;
// If this wasn't a defined scope, we can assign 'modal' to the isolated scope
// we created
if(!options.scope) {