Converted signup form to a directive and added support for html2js templateCache in tests