aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Peticolas2013-09-15 21:15:09 -0700
committerPete Bacon Darwin2013-09-16 16:36:19 +0100
commite1f103a8e4427c4697cb76697db9e827d75aef6d (patch)
treec7a9408a28f8cc134ecf516c616426a1bed2170a
parentd17aa84be18fcb4367cc4f8c7b344e08393b206e (diff)
downloadangular.js-e1f103a8e4427c4697cb76697db9e827d75aef6d.tar.bz2
doc(api): fix grammar in a directive description
- Add missing words. - Simplify text.
-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 7ee8f572..e48f4a1b 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>`
*/