add headscript/headlink in controller