move simple script into angular service
Merge branch 'dev' of https://github.com/maxisix/angular-materialize-random-color into dev