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:11:04 -0800
commit7c6b1e06e83585c174a94b0cdf09921c092861b6 (patch)
tree4440a935c471e13a2d3f1a33f99986728a8d2774 /docs/content/guide/directive.ngdoc
parent288b69a314e9bd14458b6647532eb62aad5c5cdf (diff)
downloadangular.js-7c6b1e06e83585c174a94b0cdf09921c092861b6.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);