this should be

    ..factory(dom.Element, (i) => i.get(NgApp).element)