uttesh / ngletteravatar

directive for the letter avatar for the given string like gmail, first letter of the given data will be the avatar .
http://uttesh.github.io/ngletteravatar/
MIT License
137 stars 36 forks source link

First Name and last name... #16

Closed Muthamizhan closed 8 years ago

Muthamizhan commented 8 years ago

Hi i made a change in the library.... /**

var l=r.data.replace(/[^A-Z]/g, '').toUpperCase()

**/

to get first name and last name its working fine for me..please let me know its fine to use like this.

uttesh commented 8 years ago

Thanks @Muthamizhan, library is updated with that feature in 4.0.1. release.