fix bootstrap

This commit is contained in:
Matias Alejo Garcia 2015-01-03 13:59:18 -03:00
commit 9b4e3db725

View file

@ -1,9 +1,11 @@
'use strict';
angular.element(document).ready(function() {
var startAngular = function() {
angular.bootstrap(document, ['copayApp']);
};
// this is now in HTML tab, witch is compatible with Windows Phone
// var startAngular = function() {
// angular.bootstrap(document, ['copayApp']);
// };
/* Cordova specific Init */
if (window.cordova !== undefined) {
@ -28,10 +30,10 @@ angular.element(document).ready(function() {
window.plugins.webintent.onNewIntent(handleBitcoinURI);
window.handleOpenURL = handleBitcoinURI;
startAngular();
// startAngular();
}, false);
} else {
startAngular();
// startAngular();
}
});