angularjs - Angular: access ngResources from a directive -
i'd access ngresources directive possible?
basically directive $scope has object points other via ids, other objects can populated via existing ngresource. i'd load them render them correctly.
you can pass $resource, or own $resource-based service directive.
.directive('mydirective', function($resource, myservice) { });
Comments
Post a Comment