generate angularjs cache from html files