docs(typo): fix invalid TypeScript synatx in example
docs(typo): fix invalid TypeScript synatx in example

Closes #4870

cyrilgandon/angular,cyrilgandon/angular,laco0416/angular,sarunint/angular,JSMike/angular,shairez/angular,snaptech/angular,Tragetaschen/angular,epotvin/angular,alexcastillo/angular,yjbanov/angular,Flounn/angular,GistIcon/angular,SaltyDH/angular,epotvin/angular,IdeaBlade/angular,rbevers/angular,NathanWalker/angular,mgiambalvo/angular,tycho01/angular,ollie314/angular,vandres/angular,markharding/angular,IdeaBlade/angular,antonmoiseev/angular,wKoza/angular,bkyarger/angular,kegluneq/angular,hansl/angular,ghetolay/angular,ScottSWu/angular,jesperronn/angular,StephenFluin/angular,mhegazy/angular,epotvin/angular,itamark/angular,cexbrayat/angular,alexcastillo/angular,ericmartinezr/angular,hannahhoward/angular,UIUXEngineering-Forks/angular,vamsivarikuti/angular,diestrin/angular,Toxicable/angular,souldreamer/angular,rkirov/angular,kegluneq/angular,mgol/angular,ocombe/angular,e-hein/angular,LucasSloan/angular,jasonaden/angular,IdeaBlade/angular,LucasSloan/angular,wKoza/angular,tolemac/angular,robertmesserle/angular,jelbourn/angular,alamgird/angular,diestrin/angular,mhevery/angular,diestrin/angular,GistIcon/angular,tapas4java/angular,IgorMinar/angular,cexbrayat/angular,kara/angular,GistIcon/angular,cyrilgandon/angular,micmro/angular,ValtoFrameworks/Angular-2,basvandenheuvel/angular,hannahhoward/angular,gkalpak/angular,rjamet/angular,ValtoFrameworks/Angular-2,awerlang/angular,jasonaden/angular,chrisse27/angular,manekinekko/angular,angular/angular,UIUXEngineering/angular,vicb/angular,angular-indonesia/angular,shirish87/angular,hannahhoward/angular,juleskremer/angular,heathkit/angular,markharding/angular,blesh/angular,ericmartinezr/angular,panuruj/angular,yjbanov/angular,dsebastien/angular,e-schultz/angular,jhonmike/angular,vamsivarikuti/angular,kylecordes/angular,filipesilva/angular,AlmogShaul/angular,jhonmike/angular,jteplitz602/angular,shuhei/angular,jhonmike/angular,LucasSloan/angular,vinagreti/angular,bkyarger/angular,chalin/angular,Tragetaschen/angular,gjungb/angular,tolemac/angular,willseeyou/angular,dmitriz/angular,graveto/angular,tbosch/angular,trshafer/angular,mhegazy/angular,cassand/angular,dmitriz/angular,brandonroberts/angular,mgiambalvo/angular,chadqueen/angular,kara/angular,ultrasonicsoft/angular,jteplitz602/angular,hankduan/angular,smartm0use/angular,ghetolay/angular,panuruj/angular,vinagreti/angular,gilamran/angular,mlaval/angular,kevinmerckx/angular,mprobst/angular,trshafer/angular,rkirov/angular,antonmoiseev/angular,vandres/angular,souvikbasu/angular,bkyarger/angular,Symagic/angular,jasonaden/angular,jasonaden/angular,weswigham/angular,heathkit/angular,graveto/angular,m18/angular,dtoroshin/n2oDoc,manekinekko/angular,meeroslav/angular,mprobst/angular,IAPark/angular,brandonroberts/angular,zolfer/angular,JiaLiPassion/angular,UIUXEngineering-Forks/angular,pk-karthik/framework-js-angular,tyleranton/angular,IgorMinar/angular,domusofsail/angular,kylecordes/angular,mlynch/angular,chajath/angular,gjungb/angular,chuckjaz/angular,tycho01/angular,hdeshev/angular,alexcastillo/angular,rbevers/angular,jhonmike/angular,huoxudong125/angular,TedSander/angular,vikerman/angular,kylecordes/angular,jhonmike/angular,tyleranton/angular,kwalrath/angular,nosovk/angular,mgol/angular,AlmogShaul/angular,hpinsley/angular,mlaval/angular,Tragetaschen/angular,petebacondarwin/angular,awerlang/angular,kegluneq/angular,robwormald/angular,vamsivarikuti/angular,Tragetaschen/angular,angularbrasil/angular,markharding/angular,tapas4java/angular,jonrimmer/angular,pk-karthik/framework-js-angular,tamascsaba/angular,mgechev/angular,itamark/angular,StephenFluin/angular,IgorMinar/angular,erictsangx/angular,ochafik/angular,souvikbasu/angular,ghetolay/angular,sarunint/angular,naomiblack/angular,dydek/angular,vikerman/angular,robertmesserle/angular,panuruj/angular,Flounn/angular,matsko/angular,shirish87/angular,graveto/angular,rkirov/angular,rjamet/angular,mprobst/angular,alamgird/angular,bkyarger/angular,ochafik/angular,ghetolay/angular,ocombe/angular,cironunes/angular,ScottSWu/angular,JSMike/angular,shirish87/angular,robwormald/angular,weswigham/angular,tamascsaba/angular,sarunint/angular,yjbanov/angular,angular/angular,cexbrayat/angular,pkozlowski-opensource/angular,mlynch/angular,aboveyou00/angular,IgorMinar/angular,domusofsail/angular,snaptech/angular,cassand/angular,vicb/angular,naomiblack/angular,UIUXEngineering-Forks/angular,IAPark/angular,mgechev/angular,chuckjaz/angular,rbevers/angular,erictsangx/angular,NathanWalker/angular,IAPark/angular,laco0416/angular,hansl/angular,templth/angular,ScottSWu/angular,AlmogShaul/angular,sjtrimble/angular,cironunes/angular,IAPark/angular,SekibOmazic/angular,Mathou54/angular,mhevery/angular,e-hein/angular,Toxicable/angular,tycho01/angular,mprobst/angular,alxhub/angular,sarunint/angular,templth/angular,itamark/angular,vicb/angular,dydek/angular,mzgol/angular,huoxudong125/angular,Toxicable/angular,kwalrath/angular,tapas4java/angular,alexpods/angular,panuruj/angular,souvikbasu/angular,Toxicable/angular,wKoza/angular,hansl/angular,mlynch/angular,aboveyou00/angular,markharding/angular,sjtrimble/angular,not-for-me/angular,martinmcwhorter/angular,chrisse27/angular,mikeybyker/angular,ocombe/angular,not-for-me/angular,hterkelsen/angular,ochafik/angular,wesleycho/angular,pk-karthik/framework-js-angular,jonrimmer/angular,juleskremer/angular,yjbanov/angular,manekinekko/angular,GistIcon/angular,souldreamer/angular,TedSander/angular,youdz/angular,shairez/angular,meeroslav/angular,kwalrath/angular,mlynch/angular,mgiambalvo/angular,cironunes/angular,dsebastien/angular,gdi2290/angular,vsavkin/angular,ghetolay/angular,vandres/angular,TedSander/angular,angular-indonesia/angular,robertmesserle/angular,mixed/angular,kwalrath/angular,gdi2290/angular,hdeshev/angular,vikerman/angular,jesperronn/angular,chuckjaz/angular,IdeaBlade/angular,souldreamer/angular,meeroslav/angular,ericmartinezr/angular,souldreamer/angular,mlaval/angular,tyleranton/angular,e-hein/angular,alexeagle/angular,mlynch/angular,juristr/angular,matsko/angular,tapas4java/angular,huoxudong125/angular,StephenFluin/angular,hankduan/angular,alxhub/angular,heathkit/angular,kevinmerckx/angular,GistIcon/angular,templth/angular,gnomeontherun/angular,chajath/angular,kegluneq/angular,UIUXEngineering/angular,NathanWalker/angular,JanStureNielsen/angular,mgechev/angular,hdeshev/angular,alexcastillo/angular,huoxudong125/angular,jasonaden/angular,UIUXEngineering/angular,jhonmike/angular,erictsangx/angular,micmro/angular,shairez/angular,kylecordes/angular,heathkit/angular,mgol/angular,wesleycho/angular,gdi2290/angular,mgiambalvo/angular,tbosch/angular,angularbrasil/angular,chalin/angular,zolfer/angular,zhura/angular,Mathou54/angular,hannahhoward/angular,juristr/angular,petebacondarwin/angular,angular-indonesia/angular,mgol/angular,matsko/angular,wesleycho/angular,jesperronn/angular,epotvin/angular,hdeshev/angular,tyleranton/angular,Symagic/angular,snaptech/angular,kevinmerckx/angular,mixed/angular,bkyarger/angular,rbevers/angular,laskoviymishka/angular,mhevery/angular,IAPark/angular,jesperronn/angular,dsebastien/angular,xcaliber-tech/angular,tycho01/angular,hterkelsen/angular,jelbourn/angular,JSMike/angular,weswigham/angular,alfonso-presa/angular,JanStureNielsen/angular,dejour/angular,gnomeontherun/angular,Tragetaschen/angular,e-hein/angular,SaltyDH/angular,hdeshev/angular,SekibOmazic/angular,ultrasonicsoft/angular,aboveyou00/angular,petebacondarwin/angular,e-schultz/angular,cyrilgandon/angular,meeroslav/angular,tapas4java/angular,chuckjaz/angular,naomiblack/angular,snaptech/angular,gionkunz/angular,m18/angular,asnowwolf/angular,cexbrayat/angular,domusofsail/angular,ericmartinezr/angular,SaltyDH/angular,ollie314/angular,gilamran/angular,jelbourn/angular,mgechev/angular,hpinsley/angular,JiaLiPassion/angular,youdz/angular,cassand/angular,wesleycho/angular,willseeyou/angular,tapas4java/angular,youdz/angular,mhevery/angular,cironunes/angular,hpinsley/angular,mzgol/angular,xcaliber-tech/angular,chalin/angular,sjtrimble/angular,royling/angular,IAPark/angular,ScottSWu/angular,willseeyou/angular,matsko/angular,tolemac/angular,jteplitz602/angular,smartm0use/angular,jonrimmer/angular,robwormald/angular,kwalrath/angular,GistIcon/angular,hansl/angular,juleskremer/angular,shuhei/angular,juleskremer/angular,ocombe/angular,ValtoFrameworks/Angular-2,kara/angular,mprobst/angular,wesleycho/angular,Mathou54/angular,royling/angular,jasonaden/angular,alexeagle/angular,sarunint/angular,domusofsail/angular,jteplitz602/angular,Symagic/angular,manekinekko/angular,brandonroberts/angular,SaltyDH/angular,Flounn/angular,tolemac/angular,xcaliber-tech/angular,m18/angular,chrisse27/angular,mhevery/angular,yjbanov/angular,alamgird/angular,hterkelsen/angular,filipesilva/angular,juristr/angular,juristr/angular,not-for-me/angular,m18/angular,kegluneq/angular,Flounn/angular,filipesilva/angular,IgorMinar/angular,dtoroshin/n2oDoc,tycho01/angular,Tragetaschen/angular,royling/angular,dejour/angular,Toxicable/angular,robertmesserle/angular,pk-karthik/framework-js-angular,mlaval/angular,nosovk/angular,gionkunz/angular,chadqueen/angular,martinmcwhorter/angular,graveto/angular,willseeyou/angular,heathkit/angular,angularbrasil/angular,asnowwolf/angular,cexbrayat/angular,SekibOmazic/angular,martinmcwhorter/angular,hterkelsen/angular,awerlang/angular,blesh/angular,dydek/angular,micmro/angular,gjungb/angular,mlynch/angular,Brocco/angular,willseeyou/angular,chadqueen/angular,mikeybyker/angular,mhegazy/angular,trshafer/angular,dsebastien/angular,shirish87/angular,weswigham/angular,dejour/angular,smartm0use/angular,Brocco/angular,gionkunz/angular,tolemac/angular,petebacondarwin/angular,vandres/angular,cassand/angular,e-schultz/angular,ocombe/angular,alexeagle/angular,mhegazy/angular,huoxudong125/angular,laco0416/angular,choeller/angular,weswigham/angular,TedSander/angular,pkozlowski-opensource/angular,Brocco/angular,smartm0use/angular,tbosch/angular,erictsangx/angular,laskoviymishka/angular,mikeybyker/angular,asnowwolf/angular,e-schultz/angular,m18/angular,alxhub/angular,dtoroshin/n2oDoc,JanStureNielsen/angular,mhegazy/angular,IgorMinar/angular,e-schultz/angular,e-schultz/angular,hannahhoward/angular,NathanWalker/angular,zhura/angular,royling/angular,laskoviymishka/angular,wesleycho/angular,angularbrasil/angular,erictsangx/angular,ollie314/angular,shairez/angular,robwormald/angular,Brocco/angular,zhura/angular,ValtoFrameworks/Angular-2,angularbrasil/angular,alexpods/angular,ericmartinezr/angular,antonmoiseev/angular,angularbrasil/angular,jteplitz602/angular,UIUXEngineering/angular,dejour/angular,ochafik/angular,templth/angular,itamark/angular,angular/angular,vikerman/angular,ValtoFrameworks/Angular-2,vamsivarikuti/angular,Brocco/angular,IdeaBlade/angular,SaltyDH/angular,wKoza/angular,hankduan/angular,rjamet/angular,youdz/angular,vsavkin/angular,robertmesserle/angular,huoxudong125/angular,alexpods/angular,hterkelsen/angular,tamascsaba/angular,Flounn/angular,sarunint/angular,antonmoiseev/angular,zolfer/angular,mzgol/angular,kara/angular,LucasSloan/angular,gilamran/angular,zolfer/angular,alamgird/angular,robertmesserle/angular,awerlang/angular,juristr/angular,pk-karthik/framework-js-angular,choeller/angular,gilamran/angular,gdi2290/angular,gkalpak/angular,chrisse27/angular,chajath/angular,JSMike/angular,youdz/angular,pkozlowski-opensource/angular,markharding/angular,mdegoo/angular,alxhub/angular,hankduan/angular,chuckjaz/angular,basvandenheuvel/angular,aboveyou00/angular,ocombe/angular,snaptech/angular,vicb/angular,hterkelsen/angular,UIUXEngineering-Forks/angular,gdi2290/angular,domusofsail/angular,petebacondarwin/angular,brandonroberts/angular,naomiblack/angular,micmro/angular,ollie314/angular,vsavkin/angular,JanStureNielsen/angular,mixed/angular,gjungb/angular,choeller/angular,vinagreti/angular,vicb/angular,xcaliber-tech/angular,Mathou54/angular,ollie314/angular,not-for-me/angular,rjamet/angular,alfonso-presa/angular,nosovk/angular,ultrasonicsoft/angular,ochafik/angular,hankduan/angular,mlaval/angular,naomiblack/angular,Toxicable/angular,robwormald/angular,zolfer/angular,cyrilgandon/angular,asnowwolf/angular,vikerman/angular,mixed/angular,jesperronn/angular,sjtrimble/angular,UIUXEngineering-Forks/angular,choeller/angular,angular/angular,ScottSWu/angular,hannahhoward/angular,SekibOmazic/angular,basvandenheuvel/angular,epotvin/angular,robwormald/angular,alexeagle/angular,dsebastien/angular,mdegoo/angular,hansl/angular,nosovk/angular,jonrimmer/angular,manekinekko/angular,ScottSWu/angular,JiaLiPassion/angular,aboveyou00/angular,angular-indonesia/angular,rkirov/angular,shuhei/angular,juleskremer/angular,zhura/angular,chalin/angular,nosovk/angular,kevinmerckx/angular,AlmogShaul/angular,alfonso-presa/angular,dydek/angular,martinmcwhorter/angular,tamascsaba/angular,jelbourn/angular,mdegoo/angular,gdi2290/angular,gilamran/angular,micmro/angular,mzgol/angular,kylecordes/angular,alexcastillo/angular,hpinsley/angular,StephenFluin/angular,ericmartinezr/angular,tamascsaba/angular,cironunes/angular,hpinsley/angular,templth/angular,vsavkin/angular,gkalpak/angular,mdegoo/angular,martinmcwhorter/angular,markharding/angular,shuhei/angular,NathanWalker/angular,shuhei/angular,alexpods/angular,alexeagle/angular,meeroslav/angular,weswigham/angular,kara/angular,kevinmerckx/angular,matsko/angular,mhegazy/angular,basvandenheuvel/angular,vinagreti/angular,mgechev/angular,brandonroberts/angular,laco0416/angular,chadqueen/angular,gilamran/angular,alfonso-presa/angular,epotvin/angular,wKoza/angular,laskoviymishka/angular,brandonroberts/angular,Brocco/angular,shirish87/angular,ultrasonicsoft/angular,pkozlowski-opensource/angular,yjbanov/angular,mzgol/angular,dydek/angular,tbosch/angular,Symagic/angular,souvikbasu/angular,laco0416/angular,LucasSloan/angular,gjungb/angular,mixed/angular,dmitriz/angular,jelbourn/angular,kylecordes/angular,graveto/angular,mixed/angular,tycho01/angular,StephenFluin/angular,mzgol/angular,willseeyou/angular,TedSander/angular,gionkunz/angular,zolfer/angular,UIUXEngineering/angular,alamgird/angular,cassand/angular,diestrin/angular,chadqueen/angular,vandres/angular,blesh/angular,bkyarger/angular,gnomeontherun/angular,hansl/angular,shairez/angular,alexcastillo/angular,jonrimmer/angular,rkirov/angular,dmitriz/angular,youdz/angular,basvandenheuvel/angular,vicb/angular,souldreamer/angular,erictsangx/angular,chadqueen/angular,mikeybyker/angular,snaptech/angular,antonmoiseev/angular,jonrimmer/angular,basvandenheuvel/angular,gnomeontherun/angular,tyleranton/angular,heathkit/angular,juristr/angular,filipesilva/angular,dtoroshin/n2oDoc,cyrilgandon/angular,trshafer/angular,gionkunz/angular,manekinekko/angular,e-hein/angular,tolemac/angular,dtoroshin/n2oDoc,vinagreti/angular,not-for-me/angular,NathanWalker/angular,graveto/angular,chajath/angular,mikeybyker/angular,dmitriz/angular,JSMike/angular,alfonso-presa/angular,alxhub/angular,martinmcwhorter/angular,mhevery/angular,laskoviymishka/angular,aboveyou00/angular,alexpods/angular,alfonso-presa/angular,blesh/angular,Symagic/angular,cassand/angular,TedSander/angular,smartm0use/angular,gkalpak/angular,shuhei/angular,royling/angular,zhura/angular,jteplitz602/angular,xcaliber-tech/angular,rbevers/angular,blesh/angular,chuckjaz/angular,hpinsley/angular,gionkunz/angular,souldreamer/angular,hankduan/angular,choeller/angular,wKoza/angular,awerlang/angular,cironunes/angular,chajath/angular,pkozlowski-opensource/angular,micmro/angular,vamsivarikuti/angular,rbevers/angular,dmitriz/angular,m18/angular,ultrasonicsoft/angular,ultrasonicsoft/angular,choeller/angular,kegluneq/angular,alexpods/angular,laco0416/angular,UIUXEngineering-Forks/angular,JiaLiPassion/angular,SekibOmazic/angular,dejour/angular,dsebastien/angular,panuruj/angular,alexeagle/angular,asnowwolf/angular,mdegoo/angular,itamark/angular,jelbourn/angular,petebacondarwin/angular,mprobst/angular,trshafer/angular,SekibOmazic/angular,tamascsaba/angular,Mathou54/angular,sjtrimble/angular,tyleranton/angular,filipesilva/angular,souvikbasu/angular,zhura/angular,shirish87/angular,trshafer/angular,chrisse27/angular,antonmoiseev/angular,rkirov/angular,vsavkin/angular,kara/angular,Symagic/angular,mdegoo/angular,hdeshev/angular,mgiambalvo/angular,mgol/angular,LucasSloan/angular,mgol/angular,kevinmerckx/angular,tbosch/angular,AlmogShaul/angular,ochafik/angular,JanStureNielsen/angular,vikerman/angular