reorganized the angular scripts