docs/vendor.js
function createTView(viewIndex, template, directives, pipes, viewQuery) {
    ngDevMode && ngDevMode.tView++;
    return {
        id: viewIndex,
        template: template,
        viewQuery: viewQuery,
        node: null,
        data: HEADER_FILLER.slice(),
        childIndex: -1,
        bindingStartIndex: -1,
        directives: null,
        firstTemplatePass: true,
        initHooks: null,
        checkHooks: null,
        contentHooks: null,
        contentCheckHooks: null,
        viewHooks: null,
        viewCheckHooks: null,
        destroyHooks: null,
        pipeDestroyHooks: null,
        cleanup: null,
        hostBindings: null,
        contentQueries: null,
        components: null,
        directiveRegistry: typeof directives === 'function' ? directives() : directives,
        pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,
        currentMatches: null
    };
}
function createTView(viewIndex, template, directives, pipes, viewQuery) {
    ngDevMode && ngDevMode.tView++;
    return {
        id: viewIndex,
        template: template,
        viewQuery: viewQuery,
        node: null,
        data: HEADER_FILLER.slice(),
        childIndex: -1,
        bindingStartIndex: -1,
        directives: null,
        firstTemplatePass: true,
        initHooks: null,
        checkHooks: null,
        contentHooks: null,
        contentCheckHooks: null,
        viewHooks: null,
        viewCheckHooks: null,
        destroyHooks: null,
        pipeDestroyHooks: null,
        cleanup: null,
        hostBindings: null,
        contentQueries: null,
        components: null,
        directiveRegistry: typeof directives === 'function' ? directives() : directives,
        pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,
        currentMatches: null
    };
}
function createTView ( viewIndex , template , directives , pipes , viewQuery ) { ngDevMode && ngDevMode . tView ++ ; return { id : viewIndex , template : template , viewQuery : viewQuery , node : null , data : HEADER_FILLER . slice ( ) , childIndex : - 1 , bindingStartIndex : - 1 , directives : null , firstTemplatePass : true , initHooks : null , checkHooks : null , contentHooks : null , contentCheckHooks : null , viewHooks : null , viewCheckHooks : null , destroyHooks : null , pipeDestroyHooks : null , cleanup : null , hostBindings : null , contentQueries : null , components : null , directiveRegistry : typeof directives === 'function' ? directives ( ) : directives , pipeRegistry : typeof pipes === 'function' ? pipes ( ) : pipes , currentMatches : null } ; }
Creates a TView instance

@param viewIndex The viewBlockId for inline views, or -1 if it's a component/dynamic
@param directives Registry of directives for this view
@param pipes Registry of pipes for this view
Creates a TView instance