Skip to content

Commit aa531d7

Browse files
dylanpylevojtajina
authored andcommitted
docs(guide): fix some invalid javascript in directive documentation
Use double quotes to maintain consistency with other HTML
1 parent d7e9ae1 commit aa531d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Compilation of HTML happens in three phases:
9595
var $compile = ...; // injected into your code
9696
var scope = ...;
9797

98-
var html = '<div ng-bind='exp'></div>';
98+
var html = '<div ng-bind="exp"></div>';
9999

100100
// Step 1: parse HTML into DOM element
101101
var template = angular.element(html);

0 commit comments

Comments
 (0)