Skip to content

Instantly share code, notes, and snippets.

2roy999

Block or report user

Report or block 2roy999

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@2roy999
2roy999 / angular + signature_pad
Created May 12, 2015
A angular directive to signature_pad
View angular + signature_pad
angular.module('SignaturePad', [])
.directive('SignaturePad', function () {
return {
restrict: 'A',
require: '?ngModel',
link: function (scope, element, attrs, ngModel) {
if (!ngModel) return;
var signaturePad = new SignaturePad(element[0]);
You can’t perform that action at this time.