Ion-Avatar with text

Does anyone have a good way to show a circle with someone’s initials in them if there is no image present to fill the avatar? Similar to what happens in the form when there is no image for a person or in GMail when you don’t have an image for a contact.

Any help would be much appreciated.

Thanks,
Harley

Probably not likely to help you unless you share my predilection for Golang as a backend, but I use this package to generate these server-side and pass them to Ionic apps via data URLs.