Merge pull request #1650 from JohnKurlak/master

Added has() method to ng.auto.IInjectorService
This commit is contained in:
Basarat Ali Syed
2014-01-31 04:49:10 -08:00

View File

@@ -819,7 +819,8 @@ declare module ng {
interface IInjectorService {
annotate(fn: Function): string[];
annotate(inlineAnnotadedFunction: any[]): string[];
get (name: string): any;
get(name: string): any;
has(name: string): boolean;
instantiate(typeConstructor: Function, locals?: any): any;
invoke(inlineAnnotadedFunction: any[]): any;
invoke(func: Function, context?: any, locals?: any): any;