To me, this is too much have in JS as a template.  Perhaps we should consider using ```templateURL``` and having this in a separate file.  ```incubator/views``` could house these templates.