Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2faa478

Browse files
committed
docs(NgMessages): fix up links and headings
1 parent 6f9bcd3 commit 2faa478

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ngMessages/messages.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ angular.module('ngMessages', [])
163163
* @restrict AE
164164
*
165165
* @description
166-
* # Overview
167166
* `ngMessages` is a directive that is designed to show and hide messages based on the state
168167
* of a key/value object that is listens on. The directive itself compliments error message
169168
* reporting with the `ngModel` $error object (which stores a key/value state of validation errors).
@@ -177,7 +176,7 @@ angular.module('ngMessages', [])
177176
* A remote template can also be used to promote message reuseability and messages can also be
178177
* overridden.
179178
*
180-
* {@link ngMessages.directive:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.
179+
* {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.
181180
*
182181
* @usage
183182
* ```html
@@ -322,7 +321,6 @@ angular.module('ngMessages', [])
322321
* @scope
323322
*
324323
* @description
325-
* # Overview
326324
* `ngMessage` is a directive with the purpose to show and hide a particular message.
327325
* For `ngMessage` to operate, a parent `ngMessages` directive on a parent DOM element
328326
* must be situated since it determines which messages are visible based on the state
@@ -345,7 +343,7 @@ angular.module('ngMessages', [])
345343
* </ng-messages>
346344
* ```
347345
*
348-
* {@link ngMessages.directive:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.
346+
* {@link module:ngMessages Click here} to learn more about `ngMessages` and `ngMessage`.
349347
*
350348
* @param {string} ngMessage a string value corresponding to the message key.
351349
*/

0 commit comments

Comments
 (0)