fixes the main files and the angular dependency