I have a really simple Angular app that I\'ve distilled to the following:
var napp = angular.module(\'Napp\',[\'ngResource\']); var CompanyCtrl = function($scop
This may happen (not in the OP's case) if you're using ui-router instead of ngRoute.
ui-router
ngRoute
If that's the case, use $stateParams instead of $routeParams.
$stateParams
$routeParams
https://stackoverflow.com/a/26946824/995229