Basic learning management functions in angularjs.