aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/directive.ngdoc
diff options
context:
space:
mode:
authorDylan Pyle2013-02-14 13:00:53 -0800
committerVojta Jina2013-02-14 15:15:06 -0800
commitaa531d7bd18a6aec0b10f43ff261b0d1250a2ca4 (patch)
tree9dcbe99859bbd4533afc36d8cde8b58cf1d2dd34 /docs/content/guide/directive.ngdoc
parentd7e9ae121531f8ad38efaa9c7a20f4b9d70ce15b (diff)
downloadangular.js-aa531d7bd18a6aec0b10f43ff261b0d1250a2ca4.tar.bz2
docs(guide): fix some invalid javascript in directive documentation
Use double quotes to maintain consistency with other HTML
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 8ef5e08f..2f93ef33 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -95,7 +95,7 @@ Compilation of HTML happens in three phases:
var $compile = ...; // injected into your code
var scope = ...;
- var html = '<div ng-bind='exp'></div>';
+ var html = '<div ng-bind="exp"></div>';
// Step 1: parse HTML into DOM element
var template = angular.element(html);