Cleans up missing randomcolor module

Fixed scope apply error
https://docs.angularjs.org/error/$rootScope/inprog?p0=$apply