updated the ajax loader and some of the anular js to stop ot frfom loading the data twice