Implementing adding of courses. Only affects dom, angular is not updated