aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/a.js
diff options
context:
space:
mode:
authorDave Peticolas2013-09-15 21:15:09 -0700
committerPete Bacon Darwin2013-09-16 16:36:05 +0100
commitd206f3d2ad95179c9944792789fb9052977dbf08 (patch)
tree360e755ca0fbbe45fb300e71d1c906f16d1d350f /src/ng/directive/a.js
parentbd478db770f36597b7bea8382c5b5f2d5a001ac8 (diff)
downloadangular.js-d206f3d2ad95179c9944792789fb9052977dbf08.tar.bz2
doc(api): fix grammar in a directive description
- Add missing words. - Simplify text.
Diffstat (limited to 'src/ng/directive/a.js')
-rw-r--r--src/ng/directive/a.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/directive/a.js b/src/ng/directive/a.js
index 8213afb9..418615c0 100644
--- a/src/ng/directive/a.js
+++ b/src/ng/directive/a.js
@@ -6,10 +6,10 @@
* @restrict E
*
* @description
- * Modifies the default behavior of html A tag, so that the default action is prevented when href
- * attribute is empty.
+ * Modifies the default behavior of the html A tag so that the default action is prevented when
+ * the href attribute is empty.
*
- * The reasoning for this change is to allow easy creation of action links with `ngClick` directive
+ * This change permits the easy creation of action links with the `ngClick` directive
* without changing the location or causing page reloads, e.g.:
* `<a href="" ng-click="model.$save()">Save</a>`
*/