docs: fix code example to ensure consistency in file (#26577)
docs: fix code example to ensure consistency in file (#26577)

PR Close #26577

gnomeontherun/angular,brandonroberts/angular,gdi2290/angular,matsko/angular,sarunint/angular,gkalpak/angular,wKoza/angular,wKoza/angular,ultrasonicsoft/angular,petebacondarwin/angular,jasonaden/angular,ultrasonicsoft/angular,ValtoFrameworks/Angular-2,gdi2290/angular,vikerman/angular,jasonaden/angular,sarunint/angular,gnomeontherun/angular,sarunint/angular,IgorMinar/angular,IdeaBlade/angular,juristr/angular,alexeagle/angular,manekinekko/angular,gnomeontherun/angular,manekinekko/angular,IdeaBlade/angular,ocombe/angular,filipesilva/angular,juristr/angular,ValtoFrameworks/Angular-2,angular/angular,brandonroberts/angular,mprobst/angular,mprobst/angular,brandonroberts/angular,Brocco/angular,angular/angular,mprobst/angular,matsko/angular,hansl/angular,hansl/angular,jasonaden/angular,ocombe/angular,shairez/angular,Toxicable/angular,manekinekko/angular,Brocco/angular,mprobst/angular,blesh/angular,angular/angular,matsko/angular,alexeagle/angular,mhevery/angular,juristr/angular,mhevery/angular,StephenFluin/angular,ValtoFrameworks/Angular-2,ValtoFrameworks/Angular-2,shairez/angular,snaptech/angular,Brocco/angular,StephenFluin/angular,mlaval/angular,mhevery/angular,matsko/angular,ocombe/angular,filipesilva/angular,ultrasonicsoft/angular,sarunint/angular,gdi2290/angular,StephenFluin/angular,alxhub/angular,ocombe/angular,ValtoFrameworks/Angular-2,angular/angular,juristr/angular,IdeaBlade/angular,ocombe/angular,vikerman/angular,Brocco/angular,wKoza/angular,shairez/angular,mgechev/angular,alxhub/angular,Brocco/angular,blesh/angular,JiaLiPassion/angular,vikerman/angular,brandonroberts/angular,hansl/angular,hansl/angular,blesh/angular,blesh/angular,mhevery/angular,juristr/angular,sarunint/angular,filipesilva/angular,ultrasonicsoft/angular,wKoza/angular,petebacondarwin/angular,gnomeontherun/angular,IgorMinar/angular,snaptech/angular,mprobst/angular,mgechev/angular,gkalpak/angular,angular-indonesia/angular,brandonroberts/angular,filipesilva/angular,snaptech/angular,mgechev/angular,IgorMinar/angular,IgorMinar/angular,mlaval/angular,jasonaden/angular,mgechev/angular,IdeaBlade/angular,manekinekko/angular,jasonaden/angular,Toxicable/angular,Toxicable/angular,mlaval/angular,IdeaBlade/angular,snaptech/angular,mlaval/angular,sarunint/angular,shairez/angular,blesh/angular,IgorMinar/angular,angular-indonesia/angular,snaptech/angular,petebacondarwin/angular,vikerman/angular,mlaval/angular,angular-indonesia/angular,petebacondarwin/angular,shairez/angular,gkalpak/angular,Toxicable/angular,StephenFluin/angular,mhevery/angular,juristr/angular,alxhub/angular,gdi2290/angular,Toxicable/angular,JiaLiPassion/angular,gkalpak/angular,Toxicable/angular,ocombe/angular,petebacondarwin/angular,hansl/angular,wKoza/angular,snaptech/angular,brandonroberts/angular,StephenFluin/angular,jasonaden/angular,alexeagle/angular,vikerman/angular,alexeagle/angular,gdi2290/angular,alxhub/angular,mgechev/angular,alexeagle/angular,JiaLiPassion/angular,wKoza/angular,filipesilva/angular,Brocco/angular,hansl/angular,IgorMinar/angular,ultrasonicsoft/angular,alxhub/angular,ultrasonicsoft/angular,manekinekko/angular,gdi2290/angular,angular-indonesia/angular,JiaLiPassion/angular,matsko/angular,mhevery/angular,alexeagle/angular,mprobst/angular,manekinekko/angular,petebacondarwin/angular,vikerman/angular