message: Angular: allow rendering for HTML element
diff: @@ -4,13 +4,15 @@ import {Survey} from "../react/reactSurvey";
  import {SurveyWindow} from "../react/reactSurveyWindow";
  export class SurveyNG {
  - public static render(elementId, props){
  - ReactDOM.render(<Survey {...props} />, document.getElementById(elementId));
  + public static render(elementId: string | HTMLElement, props) {
  + var element: HTMLElement = typeof elementId === 'string' ? document.getElementById(elementId) : elementId;
  + ReactDOM.render(<Survey {...props} />, element);
  }
  }
  export class SurveyWindowNG {
  public static render(elementId, props) {
  - ReactDOM.render(<SurveyWindow {...props} />, document.getElementById(elementId));
  + var element: HTMLElement = typeof elementId === 'string' ? document.getElementById(elementId) : elementId;
  + ReactDOM.render(<SurveyWindow {...props} />, element);
  }
  }
  \ No newline at end of file
  