JavaScript signature pad in AngularJS.