From 30ac84988d231156ad2f0ac109b7955569b2a695 Mon Sep 17 00:00:00 2001 From: Michael Warner Date: Fri, 29 Apr 2016 11:32:20 -0400 Subject: [PATCH 1/2] The Angular Docs do not show the restrictions Added * @restrict A so it will show the correct restrictions in the docs --- src/ng/directive/validators.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ng/directive/validators.js b/src/ng/directive/validators.js index 92cf90664efc..9f70bb86a6a4 100644 --- a/src/ng/directive/validators.js +++ b/src/ng/directive/validators.js @@ -3,6 +3,8 @@ * @ngdoc directive * @name ngRequired * + * @restrict A + * * @description * * ngRequired adds the required {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}. From 1ba0d600aa1f81e464222f05c17e38a6e244c91e Mon Sep 17 00:00:00 2001 From: Michael Warner Date: Fri, 29 Apr 2016 13:48:37 -0400 Subject: [PATCH 2/2] Travis CI Error fixing Travis CI Error --- src/ng/directive/validators.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ng/directive/validators.js b/src/ng/directive/validators.js index 9f70bb86a6a4..bd41067585db 100644 --- a/src/ng/directive/validators.js +++ b/src/ng/directive/validators.js @@ -2,7 +2,6 @@ /** * @ngdoc directive * @name ngRequired - * * @restrict A * * @description