Conversion of the JQuery Canvas Loader (http://jamund.com/canvas-loader) to an AngularJS Directive.