Revert "Add missing definition" (#11039)

This commit is contained in:
Georgii Dolzhykov
2016-09-07 14:04:49 +03:00
committed by Masahiro Wakame
parent 9b111fde72
commit a5608d64a3

View File

@@ -238,7 +238,6 @@ declare namespace angular {
* @param directiveFactory An injectable directive factory function.
*/
directive(name: string, inlineAnnotatedFunction: any[]): IModule;
directive(name: string, injectionFunction: Function): IModule;
directive(object: Object): IModule;
/**
* Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.