Closed richiepreece closed 9 years ago
Currently, in order to have reset injected into your control object, you must do the following:
HTML <no-captcha control="control"></no-captcha> CONTROLLER $scope.control = {}; *elsewhere*. $scope.reset();
This allows for you to do the following:
HTML <no-captcha control="control"></no-captcha> CONTROLLER $scope.reset();
Essentially, it makes priming the control as an object optional.
Currently, in order to have reset injected into your control object, you must do the following:
This allows for you to do the following:
Essentially, it makes priming the control as an object optional.