docs(guide/migration): fix typos, change 'ctrk' to 'ctrl'

Closes #16754
This commit is contained in:
Daniel Breen
2018-11-02 10:22:22 -06:00
committed by George Kalpakas
parent 3df4ee421c
commit 4e372d9314
+1 -1
View File
@@ -148,7 +148,7 @@ custom directive, as seen in the following example directive definition object:
link: function(scope, element, attrs, ctrl) {
var maxValidator = ctrl.$validators.max;
ctrk.$validators.max = function(modelValue, viewValue) {
ctrl.$validators.max = function(modelValue, viewValue) {
return maxValidator(modelValue, modelValue);
};
}