Move all templates into $templateCache. Refactor directives to load template from $templateCache.
Add angular-cookies into karma.conf. Pass test.