aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Sauer2013-01-25 18:02:07 -0800
committerPawel Kozlowski2013-01-26 23:03:40 +0100
commit8343c05fd8dd10de3568ca6296c88d309744e82d (patch)
treea4da9191d309f1e6c481975f2d75f6fe5cb4a557
parent7c3d064786f0c2445dbae795b9cf1eff6678135e (diff)
downloadangular.js-8343c05fd8dd10de3568ca6296c88d309744e82d.tar.bz2
docs(a): escape sample code in ng a directive
-rw-r--r--src/ng/directive/a.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/a.js b/src/ng/directive/a.js
index 340bceb7..9b6c67c9 100644
--- a/src/ng/directive/a.js
+++ b/src/ng/directive/a.js
@@ -11,7 +11,7 @@
*
* 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.:
- * <a href="" ng-click="model.$save()">Save</a>
+ * `<a href="" ng-click="model.$save()">Save</a>`
*/
var htmlAnchorDirective = valueFn({
restrict: 'E',