diff --git a/modules/examples/src/hello_world/index_static.js b/modules/examples/src/hello_world/index_static.js index 310b94c3b1..51fecd8f45 100644 --- a/modules/examples/src/hello_world/index_static.js +++ b/modules/examples/src/hello_world/index_static.js @@ -152,9 +152,9 @@ function setup() { }); reflector.registerType(Content, { - "factory": (lightDom, el) => new Content(lightDom, el), - "parameters": [[DestinationLightDom], [NgElement]], - "annotations" : [new Decorator({selector: '[content]'})] + "factory": (lightDom, el, selector) => new Content(lightDom, el, selector), + "parameters": [[DestinationLightDom], [NgElement], [String]], + "annotations" : [] }); reflector.registerType(StyleInliner, {