docs: Change 'function' to 'method' for clarity that getHereos() is (#35998) intended as a class method
docs: Change 'function' to 'method' for clarity that getHereos() is (#35998)
intended as a class method

Change 'function' to 'method' for clarity that getHereos() is
intended as a class method in Tour of Heroes part 4.

PR Close #35998

IdeaBlade/angular,manekinekko/angular,shairez/angular,ocombe/angular,ocombe/angular,gdi2290/angular,manekinekko/angular,blesh/angular,wKoza/angular,gnomeontherun/angular,angular/angular,gnomeontherun/angular,mgechev/angular,IdeaBlade/angular,ocombe/angular,manekinekko/angular,manekinekko/angular,alxhub/angular,angular/angular,ocombe/angular,angular-indonesia/angular,blesh/angular,angular/angular,wKoza/angular,alxhub/angular,gkalpak/angular,IdeaBlade/angular,filipesilva/angular,gkalpak/angular,angular-indonesia/angular,manekinekko/angular,brandonroberts/angular,wKoza/angular,filipesilva/angular,wKoza/angular,gdi2290/angular,gkalpak/angular,angular/angular,brandonroberts/angular,JiaLiPassion/angular,alxhub/angular,filipesilva/angular,brandonroberts/angular,mgechev/angular,wKoza/angular,brandonroberts/angular,mgechev/angular,mgechev/angular,blesh/angular,gnomeontherun/angular,alxhub/angular,IdeaBlade/angular,shairez/angular,JiaLiPassion/angular,gnomeontherun/angular,gdi2290/angular,IdeaBlade/angular,gkalpak/angular,brandonroberts/angular,filipesilva/angular,blesh/angular,ocombe/angular,mgechev/angular,JiaLiPassion/angular,manekinekko/angular,wKoza/angular,shairez/angular,angular-indonesia/angular,alxhub/angular,brandonroberts/angular,JiaLiPassion/angular,shairez/angular,filipesilva/angular,gdi2290/angular,shairez/angular,gdi2290/angular,gdi2290/angular,ocombe/angular,blesh/angular,angular-indonesia/angular