I am not a specialist in SEO, and some time talking to one told me that Google indexes, which is in the view-source, I wonder if this is really true?
I am developing an application and took Angle and quite advanced, and I remembered and I wonder if this is true or not.
Why? I ask this.
Because my code in the view-source looks like this
<article class="uk-article" ng-controller="dataItemHoP">
<h1 class="uk-article-title"><span>Información</span></h1>
<h3 class="uk-article-lead"><span>{{nombreHoP}}</span></h3>
<p><span class="uk-text-bold">Dirección:</span> <br>
<span>{{direccion}}</span><span>,</span> <span>{{ciudad}}</span><span>,</span> <span>{{estado}}</span></p>
<p><span class="uk-text-bold">Teléfonos:</span> <br>
<span>{{telefono1}}</span><span>,</span> <span>{{telefono2}}</span></p>
</article>
While on the console looks like Google
<article class="uk-article ng-scope" ng-controller="dataItemHoP">
<h1 class="uk-article-title"><span>Información</span></h1>
<h3 class="uk-article-lead"><span class="ng-binding">Lidodotel Hotel Boutique</span></h3>
<p><span class="uk-text-bold">Dirección:</span> <br>
<span class="ng-binding">Centro Comercial Sambil, autopista Antonio Jose de Sucre, sector Las Lomas, edificio Lidotel</span><span>,</span> <span class="ng-binding">San Cristóbal</span><span>,</span> <span class="ng-binding">Táchira</span></p>
<p><span class="uk-text-bold">Teléfonos:</span> <br>
<span class="ng-binding">0276 5103333</span><span>,</span> <span class="ng-binding">0276 5103334</span></p>
</article>
¿So, Google doesn’t will Indexed because into the view-source is watching the {{ expression }} ?
2
Answers
The google indexer is getting much better at handling JavaScript heavy sites that deal with a lot of AJAX actions to bring in content. It is true that the indexer used to only really deal in the textual representation of your site. However that has been updated.
See Understanding Web Pages
As charlietfl pointed out, you should also see Deprecating Our Ajax Crawling Scheme
Although Gbot can read javascript for a very long time, it is still not very reliable on Production scale.
As a webmaster myself we are still using the “pre-render” method