fix(requirejs): fix bug with loading order of angular & taps

This commit is contained in:
Andrew Joslin
2014-05-21 07:38:08 -06:00
parent 3192c77821
commit 3618109187

View File

@@ -550,8 +550,9 @@ function tapTargetElement(ele) {
}
ionic.DomUtil.ready(function(){
var ng = typeof angular !== 'undefined' ? angular : null;
//do nothing for e2e tests
if (!angular.scenario) {
if (!ng || (ng && !ng.scenario)) {
ionic.tap.register(document);
}
});