Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 30ac849

Browse files
committed
The Angular Docs do not show the restrictions
Added * @restrict A so it will show the correct restrictions in the docs
1 parent 707664a commit 30ac849

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ng/directive/validators.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* @ngdoc directive
44
* @name ngRequired
55
*
6+
* @restrict A
7+
*
68
* @description
79
*
810
* ngRequired adds the required {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.

0 commit comments

Comments
 (0)