fix alerts so that they actually display

There’s a bug in the angular library with directives that use hg-repeat
on the root of the directive template, included using templateUrl.  The
fix is to wrap the ng-repeat element:
https://github.com/angular/angular.js/issues/2151