RichEditor now with Angular service instead of simple JS

I realeze the simple JS would not be the best in this case.
RichEditor is now a Angular.service at disposition of other modules.