@@ -95,16 +95,16 @@ Template.prototype = {
95
95
* that is a DOM clone of the original template.
96
96
*
97
97
<pre>
98
- //copile the entire window.document and give me the scope bound to this template.
99
- var rootSscope = angular.compile(window.document)();
98
+ // compile the entire window.document and give me the scope bound to this template.
99
+ var rootScope = angular.compile(window.document)();
100
100
101
- //compile a piece of html
102
- var rootScope2 = angular.compile('' <div ng:click="clicked = true">click me</div>')();
101
+ // compile a piece of html
102
+ var rootScope2 = angular.compile('<div ng:click="clicked = true">click me</div>')();
103
103
104
- //compile a piece of html and retain reference to both the dom and scope
104
+ // compile a piece of html and retain reference to both the dom and scope
105
105
var template = angular.element('<div ng:click="clicked = true">click me</div>'),
106
- scoope = angular.compile(view )();
107
- //at this point template was transformed into a view
106
+ scope = angular.compile(template )();
107
+ // at this point template was transformed into a view
108
108
</pre>
109
109
*
110
110
*
@@ -175,7 +175,7 @@ Template.prototype = {
175
175
* directives processing state. The compiler will process directives only when directives set to
176
176
* true.
177
177
*
178
- * For information on how the compiler works, see the
178
+ * For information on how the compiler works, see the
179
179
* {@link guide/dev_guide.compiler Angular HTML Compiler} section of the Developer Guide.
180
180
*/
181
181
function Compiler ( markup , attrMarkup , directives , widgets ) {
0 commit comments