diff options
| author | Dave Peticolas | 2013-09-15 21:15:09 -0700 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-09-16 16:36:05 +0100 |
| commit | d206f3d2ad95179c9944792789fb9052977dbf08 (patch) | |
| tree | 360e755ca0fbbe45fb300e71d1c906f16d1d350f /src/ng/directive/a.js | |
| parent | bd478db770f36597b7bea8382c5b5f2d5a001ac8 (diff) | |
| download | angular.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.js | 6 |
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>` */ |
