Skip to content

Commit e34519e

Browse files
fredsapkozlowski-opensource
authored andcommitted
docs(a): escape sample code in ng a directive
1 parent 69be39f commit e34519e

File tree

1 file changed

+1
-1
lines changed
  • src/ng/directive

1 file changed

+1
-1
lines changed

src/ng/directive/a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* The reasoning for this change is to allow easy creation of action links with `ngClick` directive
1313
* without changing the location or causing page reloads, e.g.:
14-
* <a href="" ng-click="model.$save()">Save</a>
14+
* `<a href="" ng-click="model.$save()">Save</a>`
1515
*/
1616
var htmlAnchorDirective = valueFn({
1717
restrict: 'E',

0 commit comments

Comments
 (0)