js/plugins/DataProviderPlugin.js
function (args) {
            this.type = "mixin";
            this.fn = function (service) {
                service.create = service[this.create];
                service.read = service[this.read];
                service.update = service[this.update];
                service.remove = service[this.remove];
            };
        }
function (args) {
            this.type = "mixin";
            this.fn = function (service) {
                service.create = service[this.create];
                service.read = service[this.read];
                service.update = service[this.update];
                service.remove = service[this.remove];
            };
        }
function ( args ) { this . type = "mixin" ; this . fn = function ( service ) { service . create = service [ this . create ] ; service . read = service [ this . read ] ; service . update = service [ this . update ] ; service . remove = service [ this . remove ] ; } ; }
Maps simple CRUD operations to actual service methods.
@param {Object} args should consist of 4 key/value pairs:
create, read, update and remove
Each value should be the equivalent operation on the service.
Maps simple CRUD operations to actual service methods .