skip to Main Content

angularjs 1.3.16 routing with html5mode, url is updating but content not updating – SEO

We are using AngularJS version 1.3.16 and nodeJS as backend, ng-route for angular routing. Working code consists of #! as URL separator for node and angular. Example URLs: /store/1234/#!/department/produce /store/1234/#!/department/produce/category/fruits NodeJS Routing code: app.get('/store/:storeid', ctrl.storeView); Angular routing code: $routeProvider.when('/department/:deptIndex', {…

VIEW QUESTION

ngRoute not finding template – Twitter bootstrap

I'm new to angular and am having a hard time getting ngRoute to pick up my template file. Here is my index.html: <html ng-app="myApp"> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular-route.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular-animate.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> <script src="app.js"></script> <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Open+Sans'…

VIEW QUESTION
Back To Top
Search