[Framework] Add custom registration types

Add custom registration for Angular's directives and
controllers. WTD-518.
This commit is contained in:
Victor Woeltjen 2014-11-04 12:48:16 -08:00
parent 9541d6716a
commit 24591c67dd

View File

@ -67,7 +67,9 @@ define(
}
return {
routes: registerRoute
routes: registerRoute,
directives: new CustomRegistrar("directive"),
controllers: new CustomRegistrar("controller"),
services: new CustomRegistrar("service")
};
}