fixes #1 Added html2js for templates. Fixed minSafe version of directive test