remove new-course directives from controllers file and remove some console.log from code
remove alert object from controller and create a new alert directive