Extracts angularjs, adds file logging instead of stdout