1👍
✅
you have to inject $http to the controller as parameter
app.controller('rdCtrl', function ($scope, $http) { .. }
Source:stackexchange.com
1👍
you have to inject $http to the controller as parameter
app.controller('rdCtrl', function ($scope, $http) { .. }