doc(api): fix grammar in a directive description

- Add missing words.
- Simplify text.
This commit is contained in:
Dave Peticolas 2013-09-15 21:15:09 -07:00 committed by Pete Bacon Darwin
parent d17aa84be1
commit e1f103a8e4

View file

@ -6,10 +6,10 @@
* @restrict E * @restrict E
* *
* @description * @description
* Modifies the default behavior of html A tag, so that the default action is prevented when href * Modifies the default behavior of the html A tag so that the default action is prevented when
* attribute is empty. * 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.: * without changing the location or causing page reloads, e.g.:
* `<a href="" ng-click="model.$save()">Save</a>` * `<a href="" ng-click="model.$save()">Save</a>`
*/ */