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 bd478db770
commit d206f3d2ad

View file

@ -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>`
*/