From f37c6f9f732bf5106249c43a0c6eb392e897ffd1 Mon Sep 17 00:00:00 2001 From: Dylan Semler Date: Tue, 3 Jun 2014 20:36:04 -0400 Subject: [PATCH] docs(error/$compile/tplrt): note that html comments can cause this --- docs/content/error/$compile/tplrt.ngdoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/content/error/$compile/tplrt.ngdoc b/docs/content/error/$compile/tplrt.ngdoc index 3c29dbdcd..5cc6fafbc 100644 --- a/docs/content/error/$compile/tplrt.ngdoc +++ b/docs/content/error/$compile/tplrt.ngdoc @@ -37,3 +37,17 @@ elements. For example: ``` Hello World! ``` + +Watch out for html comments at the beginning or end of templates, as these can cause this error as +well. Consider the following template: + +``` +
+