restructured app, use resolve to load ajax data, added spinner