fix(ngRouteShim): update anchors to function similar to angular 1.x  (#8478)
fix(ngRouteShim): update anchors to function similar to angular 1.x  (#8478)

* fix(ngRouteShim): update anchors to function similar to angular 1.x when setting the target

* fix(ngRouteShim): update anchor target check to use indexOf instead of contains on array

rbevers/angular,rjamet/angular,gionkunz/angular,ghetolay/angular,StephenFluin/angular,ValtoFrameworks/Angular-2,hannahhoward/angular,gionkunz/angular,NathanWalker/angular,heathkit/angular,SaltyDH/angular,pkozlowski-opensource/angular,ValtoFrameworks/Angular-2,panuruj/angular,mlaval/angular,hansl/angular,vsavkin/angular,blesh/angular,robwormald/angular,ghetolay/angular,angular/angular,ultrasonicsoft/angular,templth/angular,chalin/angular,UIUXEngineering/angular,ValtoFrameworks/Angular-2,trshafer/angular,gdi2290/angular,aboveyou00/angular,vinagreti/angular,hannahhoward/angular,tycho01/angular,jasonaden/angular,IgorMinar/angular,diestrin/angular,smartm0use/angular,UIUXEngineering/angular,dsebastien/angular,JiaLiPassion/angular,alexeagle/angular,tycho01/angular,SekibOmazic/angular,trshafer/angular,rbevers/angular,mzgol/angular,LucasSloan/angular,cexbrayat/angular,JiaLiPassion/angular,laco0416/angular,youdz/angular,hterkelsen/angular,jasonaden/angular,cexbrayat/angular,vsavkin/angular,heathkit/angular,dtoroshin/n2oDoc,vicb/angular,shairez/angular,manekinekko/angular,snaptech/angular,alfonso-presa/angular,mlaval/angular,jasonaden/angular,smartm0use/angular,rkirov/angular,jonrimmer/angular,ocombe/angular,sarunint/angular,Flounn/angular,UIUXEngineering-Forks/angular,aboveyou00/angular,hannahhoward/angular,laco0416/angular,vamsivarikuti/angular,alfonso-presa/angular,kwalrath/angular,gdi2290/angular,Brocco/angular,aboveyou00/angular,manekinekko/angular,alamgird/angular,templth/angular,mzgol/angular,souvikbasu/angular,JSMike/angular,gionkunz/angular,sjtrimble/angular,graveto/angular,aboveyou00/angular,ollie314/angular,mgechev/angular,chajath/angular,cironunes/angular,mdegoo/angular,NathanWalker/angular,e-hein/angular,ghetolay/angular,brandonroberts/angular,domusofsail/angular,pk-karthik/framework-js-angular,juleskremer/angular,AlmogShaul/angular,chuckjaz/angular,hansl/angular,chrisse27/angular,graveto/angular,IdeaBlade/angular,StephenFluin/angular,chalin/angular,shairez/angular,trshafer/angular,JanStureNielsen/angular,kegluneq/angular,royling/angular,filipesilva/angular,mikeybyker/angular,awerlang/angular,matsko/angular,smartm0use/angular,robwormald/angular,tolemac/angular,templth/angular,tolemac/angular,wKoza/angular,UIUXEngineering-Forks/angular,kwalrath/angular,laskoviymishka/angular,hannahhoward/angular,Mathou54/angular,JanStureNielsen/angular,ScottSWu/angular,asnowwolf/angular,naomiblack/angular,royling/angular,kylecordes/angular,brandonroberts/angular,UIUXEngineering-Forks/angular,kegluneq/angular,alxhub/angular,chrisse27/angular,alamgird/angular,angularbrasil/angular,nosovk/angular,Toxicable/angular,laco0416/angular,awerlang/angular,vikerman/angular,vinagreti/angular,alfonso-presa/angular,filipesilva/angular,AlmogShaul/angular,e-hein/angular,dydek/angular,smartm0use/angular,dejour/angular,robwormald/angular,chuckjaz/angular,Brocco/angular,mzgol/angular,hansl/angular,domusofsail/angular,Brocco/angular,jonrimmer/angular,rjamet/angular,dsebastien/angular,hannahhoward/angular,JiaLiPassion/angular,itamark/angular,naomiblack/angular,youdz/angular,ocombe/angular,chrisse27/angular,SekibOmazic/angular,pkozlowski-opensource/angular,IdeaBlade/angular,panuruj/angular,naomiblack/angular,domusofsail/angular,UIUXEngineering/angular,alfonso-presa/angular,chrisse27/angular,manekinekko/angular,sarunint/angular,kara/angular,SekibOmazic/angular,ghetolay/angular,panuruj/angular,mdegoo/angular,mgiambalvo/angular,StephenFluin/angular,panuruj/angular,mgol/angular,Flounn/angular,alexeagle/angular,tolemac/angular,heathkit/angular,not-for-me/angular,ultrasonicsoft/angular,LucasSloan/angular,juleskremer/angular,vicb/angular,dejour/angular,alexeagle/angular,souvikbasu/angular,tbosch/angular,mdegoo/angular,hterkelsen/angular,trshafer/angular,ocombe/angular,nosovk/angular,zhura/angular,ollie314/angular,Mathou54/angular,mhevery/angular,filipesilva/angular,blesh/angular,robwormald/angular,vamsivarikuti/angular,vikerman/angular,chajath/angular,rkirov/angular,heathkit/angular,alxhub/angular,petebacondarwin/angular,vicb/angular,diestrin/angular,ocombe/angular,laskoviymishka/angular,ScottSWu/angular,mhevery/angular,juristr/angular,IgorMinar/angular,Toxicable/angular,zhura/angular,gjungb/angular,angular/angular,vinagreti/angular,dsebastien/angular,mgiambalvo/angular,pkozlowski-opensource/angular,vamsivarikuti/angular,kara/angular,angularbrasil/angular,nosovk/angular,royling/angular,ollie314/angular,graveto/angular,AlmogShaul/angular,mzgol/angular,juristr/angular,sjtrimble/angular,mgol/angular,mlaval/angular,youdz/angular,nosovk/angular,SaltyDH/angular,chuckjaz/angular,pk-karthik/framework-js-angular,itamark/angular,sjtrimble/angular,hansl/angular,alxhub/angular,zhura/angular,pkozlowski-opensource/angular,asnowwolf/angular,mhevery/angular,kylecordes/angular,AlmogShaul/angular,souvikbasu/angular,SekibOmazic/angular,domusofsail/angular,mprobst/angular,tolemac/angular,vsavkin/angular,mgol/angular,LucasSloan/angular,laskoviymishka/angular,wKoza/angular,alamgird/angular,aboveyou00/angular,gnomeontherun/angular,SaltyDH/angular,royling/angular,rbevers/angular,hansl/angular,brandonroberts/angular,mgol/angular,laskoviymishka/angular,vicb/angular,kegluneq/angular,gjungb/angular,ocombe/angular,heathkit/angular,mhevery/angular,laco0416/angular,awerlang/angular,vandres/angular,graveto/angular,e-hein/angular,manekinekko/angular,alxhub/angular,gnomeontherun/angular,SekibOmazic/angular,vicb/angular,tbosch/angular,tbosch/angular,mlaval/angular,rkirov/angular,pk-karthik/framework-js-angular,alfonso-presa/angular,IdeaBlade/angular,mgiambalvo/angular,matsko/angular,brandonroberts/angular,mgiambalvo/angular,chalin/angular,mgol/angular,ollie314/angular,dydek/angular,Toxicable/angular,ScottSWu/angular,juristr/angular,kwalrath/angular,not-for-me/angular,Brocco/angular,jesperronn/angular,asnowwolf/angular,kara/angular,angular-indonesia/angular,petebacondarwin/angular,UIUXEngineering-Forks/angular,vandres/angular,jonrimmer/angular,snaptech/angular,alamgird/angular,chuckjaz/angular,alfonso-presa/angular,IgorMinar/angular,vikerman/angular,kara/angular,gkalpak/angular,kwalrath/angular,rbevers/angular,jasonaden/angular,vikerman/angular,juleskremer/angular,UIUXEngineering/angular,UIUXEngineering-Forks/angular,wKoza/angular,chalin/angular,vamsivarikuti/angular,snaptech/angular,meeroslav/angular,chuckjaz/angular,cironunes/angular,mprobst/angular,Brocco/angular,angular/angular,NathanWalker/angular,jonrimmer/angular,angular-indonesia/angular,xcaliber-tech/angular,JSMike/angular,graveto/angular,hansl/angular,Flounn/angular,dtoroshin/n2oDoc,UIUXEngineering-Forks/angular,shairez/angular,sarunint/angular,e-hein/angular,vikerman/angular,brandonroberts/angular,ValtoFrameworks/Angular-2,UIUXEngineering/angular,hterkelsen/angular,mgechev/angular,dejour/angular,StephenFluin/angular,manekinekko/angular,hannahhoward/angular,templth/angular,Toxicable/angular,naomiblack/angular,chajath/angular,dejour/angular,not-for-me/angular,cassand/angular,mgechev/angular,gionkunz/angular,JSMike/angular,angular/angular,kylecordes/angular,vicb/angular,jesperronn/angular,dsebastien/angular,zhura/angular,jesperronn/angular,dtoroshin/n2oDoc,youdz/angular,JiaLiPassion/angular,meeroslav/angular,vsavkin/angular,mgechev/angular,mzgol/angular,mprobst/angular,trshafer/angular,templth/angular,shairez/angular,dydek/angular,rkirov/angular,jasonaden/angular,gdi2290/angular,NathanWalker/angular,alamgird/angular,gionkunz/angular,laskoviymishka/angular,kegluneq/angular,matsko/angular,awerlang/angular,mikeybyker/angular,sarunint/angular,JanStureNielsen/angular,itamark/angular,heathkit/angular,cironunes/angular,juristr/angular,hterkelsen/angular,cexbrayat/angular,gnomeontherun/angular,mikeybyker/angular,jasonaden/angular,angular-indonesia/angular,mgol/angular,ultrasonicsoft/angular,juristr/angular,juleskremer/angular,mdegoo/angular,ghetolay/angular,nosovk/angular,alexeagle/angular,petebacondarwin/angular,juristr/angular,LucasSloan/angular,blesh/angular,kegluneq/angular,cassand/angular,mgechev/angular,domusofsail/angular,meeroslav/angular,not-for-me/angular,asnowwolf/angular,jonrimmer/angular,mzgol/angular,JSMike/angular,zhura/angular,itamark/angular,xcaliber-tech/angular,gnomeontherun/angular,aboveyou00/angular,AlmogShaul/angular,wKoza/angular,jonrimmer/angular,wKoza/angular,snaptech/angular,vandres/angular,robwormald/angular,hterkelsen/angular,souvikbasu/angular,gdi2290/angular,ocombe/angular,dydek/angular,JanStureNielsen/angular,vinagreti/angular,hterkelsen/angular,angularbrasil/angular,alxhub/angular,ollie314/angular,gionkunz/angular,chajath/angular,petebacondarwin/angular,pk-karthik/framework-js-angular,xcaliber-tech/angular,petebacondarwin/angular,rbevers/angular,mprobst/angular,ultrasonicsoft/angular,chajath/angular,cexbrayat/angular,Toxicable/angular,rbevers/angular,kylecordes/angular,mikeybyker/angular,laco0416/angular,gjungb/angular,mhevery/angular,jesperronn/angular,Toxicable/angular,zhura/angular,vandres/angular,jesperronn/angular,JSMike/angular,Mathou54/angular,vinagreti/angular,ultrasonicsoft/angular,tolemac/angular,IdeaBlade/angular,meeroslav/angular,vamsivarikuti/angular,awerlang/angular,alexeagle/angular,mdegoo/angular,diestrin/angular,Flounn/angular,rkirov/angular,e-hein/angular,chrisse27/angular,pkozlowski-opensource/angular,robwormald/angular,IgorMinar/angular,shairez/angular,gdi2290/angular,StephenFluin/angular,meeroslav/angular,SaltyDH/angular,Mathou54/angular,snaptech/angular,mhevery/angular,Brocco/angular,ultrasonicsoft/angular,filipesilva/angular,cexbrayat/angular,blesh/angular,tycho01/angular,rjamet/angular,rkirov/angular,dtoroshin/n2oDoc,pk-karthik/framework-js-angular,tycho01/angular,tycho01/angular,youdz/angular,gkalpak/angular,tbosch/angular,petebacondarwin/angular,juleskremer/angular,kara/angular,kwalrath/angular,sarunint/angular,mikeybyker/angular,ValtoFrameworks/Angular-2,gjungb/angular,kara/angular,angular-indonesia/angular,ScottSWu/angular,rjamet/angular,blesh/angular,smartm0use/angular,matsko/angular,SaltyDH/angular,mdegoo/angular,graveto/angular,wKoza/angular,NathanWalker/angular,sarunint/angular,panuruj/angular,ScottSWu/angular,angularbrasil/angular,LucasSloan/angular,kylecordes/angular,gdi2290/angular,kylecordes/angular,cassand/angular,chuckjaz/angular,angularbrasil/angular,dydek/angular,gkalpak/angular,cironunes/angular,cironunes/angular,dsebastien/angular,tycho01/angular,gkalpak/angular,sjtrimble/angular,tolemac/angular,NathanWalker/angular,IgorMinar/angular,matsko/angular,IdeaBlade/angular,alexeagle/angular,SekibOmazic/angular,laco0416/angular,Flounn/angular,sjtrimble/angular,vandres/angular,naomiblack/angular,not-for-me/angular,cassand/angular,ScottSWu/angular,cassand/angular,snaptech/angular,Mathou54/angular,manekinekko/angular,souvikbasu/angular,filipesilva/angular,vsavkin/angular,vikerman/angular,dtoroshin/n2oDoc,LucasSloan/angular,cassand/angular,asnowwolf/angular,xcaliber-tech/angular,brandonroberts/angular,youdz/angular,diestrin/angular,angularbrasil/angular,gjungb/angular,mprobst/angular,xcaliber-tech/angular,cironunes/angular,JanStureNielsen/angular,mlaval/angular,dejour/angular,mprobst/angular,IgorMinar/angular,itamark/angular,mgiambalvo/angular,kegluneq/angular,royling/angular,dsebastien/angular,tbosch/angular,trshafer/angular