Separated out aspects of Angular app into separate files