message: fix(devtools): check if node.nativeelement is an instance of an HTMLElement before calling ng.getComponent on it (rangle/angular-devtools#93)
diff: @@ -7,7 +7,7 @@ const SELECTED_COMPONENT_PROPERTY_KEY_BASE = '$ng0';
  export const setConsoleReference = (node: ComponentTreeNode) => {
  Object.defineProperty(window, SELECTED_COMPONENT_PROPERTY_KEY_BASE, {
  get: () => {
  - if (node) {
  + if (node && node.nativeElement instanceof HTMLElement) {
  return ng.getComponent(node.nativeElement) || node;
  }
  return node.nativeElement;
  