refactored main page code, simplified services, added facilities for introductions to course, units
refactored main page code, simplified services, added facilities for introductions to course, units
added scope watching in the insert directive, with support for promises