I am fairly new to angularjs and am not able to find any documentation or examples for this. What I am looking to do is to extend a basic service so that i can use the metho
More cleaner and imperative way
.factory('ExtendedService', function($http, BasicService){ var extended = angular.extend(BasicService, {}) extended.method = function() { // ... } return extended; }