Skip to content

Commit 4e372d9

Browse files
Daniel Breengkalpak
Daniel Breen
authored andcommitted
docs(guide/migration): fix typos, change 'ctrk' to 'ctrl'
Closes angular#16754
1 parent 3df4ee4 commit 4e372d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/migration.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ custom directive, as seen in the following example directive definition object:
148148
link: function(scope, element, attrs, ctrl) {
149149
var maxValidator = ctrl.$validators.max;
150150

151-
ctrk.$validators.max = function(modelValue, viewValue) {
151+
ctrl.$validators.max = function(modelValue, viewValue) {
152152
return maxValidator(modelValue, modelValue);
153153
};
154154
}

0 commit comments

Comments
 (0)