diff --git a/tools/dgeni/templates/method.template.html b/tools/dgeni/templates/method.template.html
index 4d6ed2f81ec3..8a79b1e18b4d 100644
--- a/tools/dgeni/templates/method.template.html
+++ b/tools/dgeni/templates/method.template.html
@@ -9,13 +9,11 @@
- {%- if method.description -%}
{$ method.description | marked | safe $}
|
- {%- endif -%}
{%- if method.params.length -%}
diff --git a/tools/dgeni/templates/property.template.html b/tools/dgeni/templates/property.template.html
index 9244bb306423..fd539e9ea11a 100644
--- a/tools/dgeni/templates/property.template.html
+++ b/tools/dgeni/templates/property.template.html
@@ -25,11 +25,7 @@
{$ property.name $}
+ {$ property.type $}
-
-
- Type: {$ property.type $}
-
- {$ property.description | marked | safe $}
- |
+ {$ property.description | marked | safe $} |