directive for the letter avatar for the given string like gmail, first letter of the given data will be the avatar .
137
stars
36
forks
source link
Error: [$compile:missingattr] Attribute 'alphabetcolors' of 'ngLetterAvatar' is non-optional and must be set! #36
Open
pablorsk opened 7 years ago
Problem:
On AngularJS 1.6.6 is possible set strictComponentBindingsEnabled to true. If we do this, we receive this error on browser console:
ngletteravatar has default values for
alphabetcolors
, thenalphabetcolors
can be optional.alphabetcolors on projects with strictComponentBindingsEnabled(true) fixed