diff --git a/doc/web/Window.html b/doc/web/Window.html index 713db53..7b22180 100644 --- a/doc/web/Window.html +++ b/doc/web/Window.html @@ -23,4 +23,13 @@ } +

+ In order for AJAX-loaded content to be properly compiled through Angular, + the template should define a single root element. Just embed everything + inside a single <div> tag. The “Lorem ipsum” window + contains an angular expression — {{hello}} — + which is evaluated in the scope defined in controller. Also, the URL of + the template must target the same domain as the containing page. +

+
diff --git a/doc/web/loremIpsum.html b/doc/web/loremIpsum.html index 3b7e9ff..7062718 100644 --- a/doc/web/loremIpsum.html +++ b/doc/web/loremIpsum.html @@ -1,3 +1,19 @@ +
+ +

Important:

+ +

+ In order for AJAX-loaded content to be properly compiled through Angular, + the template should define a single root element. Just embed everything + inside a single <div> tag. +

+ +

+ Here's an Angular expression: {{hello}}. +

+ +
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tortor diam, cursus id sodales non, ornare eget arcu. Aenean ullamcorper @@ -9,6 +25,4 @@ laoreet nunc gravida, dictum velit.

-

- Here's an Angular expression: {{hello}}. -

+