Fix alerts so that they actually display

There’s a bug in the angular library with directives that use ng-repeat
on the root element of a directive template included via templateUrl.  The
fix is to wrap the ng-repeat element in a div, or include the template as a string.  We chose to wrap.  Here's more information on this issue: https://github.com/angular/angular.js/issues/2151