Needed to move the declaration of the angular module closer to the top in module.js.