caching and preloading templates
removed unnecessary copying of files
added loader before angular loads
minor styling issues