i have an angular application that calls web api . it was working all fine with web api controller and ngresource until i required to get count of results.
to get just the count of a result i need to use $inlinecount which only seems to be working with oDataController . with oDataControlelr in place my promises dont work.
$scope.totalCount = storeCommandResource.query({ $inlinecount: "allpages", $top: 0 });
i get
Error: [$resource:badcfg] query
please guide.