/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Injector} from '../di/injector'; import {isPresent} from '../facade/lang'; import {ElementRef} from './element_ref'; import {QueryList} from './query_list'; import {AppView} from './view'; import {ViewContainerRef_} from './view_container_ref'; import {ViewType} from './view_type'; /** * An AppElement is created for elements that have a ViewContainerRef, * a nested component or a