Unfortunately, we launched 1.2.26 (it will be updated to 1.2.28 when it is shown).
At the same time, how can I pay (heh) $ http so that a short patch method is available? I am new to the whole service / factory / module. I have been looking for many hours and do not seem to understand.
myApp.factory('patchedHTTP', function($http, BasicService) { // $http['patch'] = function(url, data, config) { // return $http(angular.extend(config || {}, { // method: 'patch', // url: url, // data: data // })); // }; var extended = angular.extend(BasicService, {}); extended.createShortMethodsWithData('patch'); return extended; });
Above is the best I have ... and XD does nothing
Volte source share