I think the template is referring to this part of the codebase
This portion specifies the action that gets taken when someone clicks on the big pencil for editing the avatar.
& here is the action associated with the showAvatarSelector
that could be replaced if you wanted to customize.
Hope this helps!