separating angular app into different files