Shoehorned into a Yo angular scaffold.
Appeasing JSHint
Fully angularized the existing drawing code