This video tutorial covers manipulating the DOM in AngularJS using directives with a link function.
I favored readability over conciseness in this fiddle but you could definitely inline a lot of it if you wished.
If you have any technical questions check out the awesome mailing list here:
Awesome! I’ve got a buddy at work that handed me a long confusing new code page and wanted me to figure out how it works and produce similar results. This should help TREMENDOUSLY!!! Great work! Keep it up!