mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(guide): fix some invalid javascript in directive documentation
Use double quotes to maintain consistency with other HTML
This commit is contained in:
parent
d7e9ae1215
commit
aa531d7bd1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue