Angular 1 – get current URL parameters
To get parameters from URL with ngRoute . It means that you will need to include angular-route.js in your application as a dependency. More information how to do this on official ngRoute documentation. The solution for the question: // You need to add ‘ngRoute’ as a dependency in your app angular.module(‘ngApp’, [‘ngRoute’]) .config(function ($routeProvider, $locationProvider) … Read more