use angular builtin ng-mousemove directive to display pointer coordinates in demo
demo: remove poly2tri global for jshint