From http://badwing.com/angularjs-service-inheritance/