kamisama/ResqueBoard — pull request #23 by joegreen0991 (2013-11-16 18:14:52+00:00)
Title: Update main.js

Had a problem with a race condition - jQuery was loading after angular and

angular.element(document).ready(function() {
return require(["bootstrap"]);
});

was never being fired - not sure why?? This caused the page to fail to render around 9 times out of 10.

Solved this by adding a dependency of jquery to lib/angular.

I'm sure there is a better way to solve this but I needed to get it working quick! :)