renamed controllers following angular js guidelines.