Adding a SEO friendly Url Slug in Dynamic Views of Angular UI-Router
In an Angular setting, I have chose Angular UI-router to switch between views. My config looks as follows: .config(function($stateProvider, $urlRouterProvider) { $urlRouterProvider.otherwise('/app/home'); $stateProvider // Nav .state('app', { url: '/app', templateUrl: 'templates/navbar.html', abstract: true, controller:'AppCtrl as app', }) // Home .state('app.home',…