removes angular modules and require()s in main.js