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

Commit f670c45

Browse files
spaceribsgkalpak
authored andcommitted
docs(ngMessageExp): improve description
Closes #15486
1 parent 6d0ff9f commit f670c45

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
@@ -629,10 +629,8 @@ angular.module('ngMessages', [], function initAngularHelpers() {
629629
* @scope
630630
*
631631
* @description
632-
* `ngMessageExp` is a directive with the purpose to show and hide a particular message.
633-
* For `ngMessageExp` to operate, a parent `ngMessages` directive on a parent DOM element
634-
* must be situated since it determines which messages are visible based on the state
635-
* of the provided key/value map that `ngMessages` listens on.
632+
* `ngMessageExp` is the same as {@link directive:ngMessage `ngMessage`}, but instead of a static
633+
* value, it accepts an expression to be evaluated for the message key.
636634
*
637635
* @usage
638636
* ```html

0 commit comments

Comments
 (0)