Split rosette.html up into a couple of ng-includes.
Reworked view source as a general-purpose directive.

It can now be attaced to any block element, and will show the prettified markup of that element.
Performance fixes: avoid computing SVG paths on each digest cycle.