Added $rootScope and moved functions from class.js to app.js as a service. These functions are going to be used in offeredclass.js and class.js. Replaced calls with removed functions with the appropriate $rootScope function.
Added $rootScope and moved functions from class.js to app.js as a service. These functions are going to be used in offeredclass.js and class.js.
Replaced calls with removed functions with the appropriate $rootScope function.

robert-vo/class-browser-uh-web,robert-vo/class-browser-uh-web