mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
doc(api): fix grammar in a directive description
- Add missing words. - Simplify text.
This commit is contained in:
parent
d17aa84be1
commit
e1f103a8e4
1 changed files with 3 additions and 3 deletions
|
|
@ -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>`
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue