Created
May 12, 2016 12:00
-
-
Save garyjoy/b54a6b6da49287066c8ac046181d414f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elementNode = document.getElementById(this.context.viewid) | |
console.log('Change Angular Dialog'); | |
if (event.type !== "config") { | |
if (event.newVal === true) { | |
var myScope = angular.element(elementNode.children[0].children[0]).scope(); | |
myScope.toggleModal(); | |
myScope.$apply(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment