title: Extending Primeng Autocomplete component inside Angular 2
body: <p>I am trying to extend PrimeNg Autocomplete component inside angular. I need to add events on <code>keyup.enter</code> so that I can make it behave like select by autocomplete or create new.
  I copied the template html and added the <code>NG_VALUE_ACCESSORS</code> referring <a href="https://stackoverflow.com/questions/44519015/extending-a-primeng-component-inside-angular2">Extending a PrimeNg component inside Angular2</a> and <a href="https://stackoverflow.com/questions/42535485/extending-components-in-primeng?rq=1">Extending components in PrimeNG</a></p>
  
  <p>I still get the following error:</p>
  
  <blockquote>
    <p>ERROR Error: No provider for DomHandler!<br>
        at injectionError (core.es5.js:1169)
        at noProviderError (core.es5.js:1207)
        at ReflectiveInjector_.webpackJsonp.../../../core/@angular/core.es5.js.ReflectiveInjector_.<em>throwOrNull (core.es5.js:2649)
        at ReflectiveInjector</em>.webpackJsonp.../../../core/@angular/core.es5.js.ReflectiveInjector_.<em>getByKeyDefault (core.es5.js:2688)
        at ReflectiveInjector</em>.webpackJsonp.../../../core/@angular/core.es5.js.ReflectiveInjector_.<em>getByKey (core.es5.js:2620)
        at ReflectiveInjector</em>.webpackJsonp.../../../core/@angular/core.es5.js.ReflectiveInjector_.get (core.es5.js:2489)
        at resolveNgModuleDep (core.es5.js:9475)
        at NgModuleRef_.webpackJsonp.../../../core/@angular/core.es5.js.NgModuleRef_.get (core.es5.js:10557)
        at resolveDep (core.es5.js:11060)
        at createClass (core.es5.js:10924)</p>
  </blockquote>