Restore the visual diff functionality

AngularJS has killed the ng-bind-html-unsafe directive, which we used
for displaying the visual diff. (See here: https://github.com/angular/angular.js/commit/dae694739b9581bea5dbc53522ec00d87b26ae55 )

Update the code to work with the new way.

Fixes #807.