diff --git a/platform/framework/src/CustomRegistrars.js b/platform/framework/src/CustomRegistrars.js index 611d9d8cc9..6fa0a618be 100644 --- a/platform/framework/src/CustomRegistrars.js +++ b/platform/framework/src/CustomRegistrars.js @@ -67,7 +67,9 @@ define( } return { - routes: registerRoute + routes: registerRoute, + directives: new CustomRegistrar("directive"), + controllers: new CustomRegistrar("controller"), services: new CustomRegistrar("service") }; }