[Framework] Add custom registration types
Add custom registration for Angular's directives and controllers. WTD-518.
This commit is contained in:
@@ -67,7 +67,9 @@ define(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
routes: registerRoute
|
routes: registerRoute,
|
||||||
|
directives: new CustomRegistrar("directive"),
|
||||||
|
controllers: new CustomRegistrar("controller"),
|
||||||
services: new CustomRegistrar("service")
|
services: new CustomRegistrar("service")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user