8000 docs(ngRequired): add 'restrict' info · kevinSuttle/angular.js@4978a06 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4978a06

Browse files
MichaelJGWNarretz
authored andcommitted
docs(ngRequired): add 'restrict' info
The Angular Docs do not show the restrictions Closes angular#14541
1 parent aaa069a commit 4978a06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ng/directive/validators.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* @ngdoc directive
44
* @name ngRequired
5-
*
5+
* @restrict A
6+
*
67
* @description
78
*
89
* ngRequired adds the required {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.

0 commit comments

Comments
 (0)
0