Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7c6b1e0

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 288b69a commit 7c6b1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/directive.ngdoc

+1-1
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)