fix(ngdoc templates): ensure type hints are escaped

Some types contain what appears to be HTML. For example,
`Array.<Object>`, which can be interpreted by the browser as an opening
object tag.  This commit ensures that these type hints are escaped.