Skip to content

Commit d206f3d

Browse files
jdavisp3petebacondarwin
authored andcommitted
doc(api): fix grammar in a directive description
- Add missing words. - Simplify text.
1 parent bd478db commit d206f3d

File tree

1 file changed

+3
-3
lines changed
  • src/ng/directive

1 file changed

+3
-3
lines changed

src/ng/directive/a.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
* @restrict E
77
*
88
* @description
9-
* Modifies the default behavior of html A tag, so that the default action is prevented when href
10-
* attribute is empty.
9+
* Modifies the default behavior of the html A tag so that the default action is prevented when
10+
* the href attribute is empty.
1111
*
12-
* The reasoning for this change is to allow easy creation of action links with `ngClick` directive
12+
* This change permits the easy creation of action links with the `ngClick` directive
1313
* without changing the location or causing page reloads, e.g.:
1414
* `<a href="" ng-click="model.$save()">Save</a>`
1515
*/

0 commit comments

Comments
 (0)