added angular controllers and services