Added HTML templating. Was missing require in the declaration.