Precompile AngularJS templates with $templateCache to a JS file