remove unused code
decouple alertPopup as a angular directive
create edit-lesson angular app
decouple factories from new_course