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:12:41 -0700
commitf2ebfa16b0849a1ea26f73ae63dcb0e56f066646 (patch)
tree26966ad61229c8a7ddcc6591096fc00b31357c7e /docs/content/guide/directive.ngdoc
parent95276a7e1047c7a3ac6613d8612c62f544388fc9 (diff)
downloadangular.js-f2ebfa16b0849a1ea26f73ae63dcb0e56f066646.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