Fixed formatting issues and separated angular app out into modules