Fixed by hacking around some Bootstrap and AngularJS incompatibilities.