App Indexing & Sitemaps in Single Page Apps (Firebase + Angular)
I started this article while working on the mypatco app and for the past three years or so I've been talking about developing single page applications. I always talk about the performance and not much on seo. With my other projects which require a more complex middle-ware I've looked at google's notes on how to properly setup for some example but found some of them just don't work or takes a considerable amount of time to appear in the results. Found a npm page that might be helpful grunt-jsondl, haven't tried it but below is how I handled in the website. However note that the station markup isn't working or just not showing up in google's testing tools.
HTML <divng-controller="TestController"><jsonlddata-json="jsonId"></jsonld></div>Javascript var myApp = angular.module('application',[]); myApp.controller('TestController',['$scope',function($scope){ $scope.jsonId ={"@context"…
HTML <divng-controller="TestController"><jsonlddata-json="jsonId"></jsonld></div>Javascript var myApp = angular.module('application',[]); myApp.controller('TestController',['$scope',function($scope){ $scope.jsonId ={"@context"…