ralyodio opened this issue 11 years ago · 1 comments
angular-fullstack/generator-angular-fullstack#225
fixed with this:
job: ['$route', 'Job', function($route, Job){ return Job.get({ id: $route.current.params.id}).$promise; }]