Skip to content

Commit

Permalink
added wait for ready, as a possible solution to site not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Apr 16, 2012
1 parent 196a178 commit 16c34cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Expand Up @@ -54,7 +54,9 @@
function bootstrap() {
if (window.prettyPrint && window.$ && $.fn.popover && angular.bootstrap &&
hasModule('ngLocal.sk') && hasModule('ngLocal.us') && hasModule('homepage') && hasModule('ngResource')) {
angular.bootstrap(document, ['homepage', 'ngLocal.us']);
$(function(){
angular.bootstrap(document, ['homepage', 'ngLocal.us']);
});
}
}

Expand Down

0 comments on commit 16c34cc

Please sign in to comment.