aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/directive.ngdoc
diff options
context:
space:
mode:
authorBrian Ford2012-09-07 00:16:23 -0400
committerMisko Hevery2012-09-11 16:19:45 -0700
commit191efbb558813d4ae9f5b602d5623f1cdc811df3 (patch)
tree8612854fc8d64a13411cec8cc84dc232f408aa99 /docs/content/guide/directive.ngdoc
parentbf873d6f0275c14c603fe0d437d77d531cb93c62 (diff)
downloadangular.js-191efbb558813d4ae9f5b602d5623f1cdc811df3.tar.bz2
docs(guide): fix directive interpolation example code
Closes #1339
Diffstat (limited to 'docs/content/guide/directive.ngdoc')
-rw-r--r--docs/content/guide/directive.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc
index b600f4d9..2ddc0fcd 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -63,7 +63,7 @@ api/ng.$rootScope.Scope#$digest digest} cycle. An example of interpolation is sh
here:
<pre>
-<img src="img/{{username}}.jpg">Hello {{username}}!</img>
+<a href="img/{{username}}.jpg">Hello {{username}}!</a>
</pre>
# Compilation process, and directive matching