mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-19 20:01:52 +00:00
docs(a): escape sample code in ng a directive
This commit is contained in:
parent
7c3d064786
commit
8343c05fd8
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
*
|
*
|
||||||
* The reasoning for this change is to allow easy creation of action links with `ngClick` directive
|
* The reasoning for this change is to allow easy creation of action links with `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>`
|
||||||
*/
|
*/
|
||||||
var htmlAnchorDirective = valueFn({
|
var htmlAnchorDirective = valueFn({
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue