Minimal Snap.js clone written for Angular.js