How use ngResourse in services.js

I add in index.html

also in services.js add

angular.module(‘’, [‘ngResource’])

but I can not get a response in the controller
$scope.card = Card.get({cardId: $stateParams.cardId});

may be necessary to adjust the project should Cordova?

I think you’re going to need to put together a CodePen sample of this. It’s pretty difficult to figure out what might be wrong just from that sample.

Thanks, I’m complete task. Need add to function controller

.controller(‘CardListCtrl’, function($scope, Card){