docs/vendor.js
function removeView(container, removeIndex) {
    var viewNode = container.data[VIEWS][removeIndex];
    detachView(container, removeIndex);
    destroyLView(viewNode.data);
    return viewNode;
}
function removeView(container, removeIndex) {
    var viewNode = container.data[VIEWS][removeIndex];
    detachView(container, removeIndex);
    destroyLView(viewNode.data);
    return viewNode;
}
function removeView ( container , removeIndex ) { var viewNode = container . data [ VIEWS ] [ removeIndex ] ; detachView ( container , removeIndex ) ; destroyLView ( viewNode . data ) ; return viewNode ; }
Removes a view from a container, i.e. detaches it and then destroys the underlying LView.

@param container The container from which to remove a view
@param removeIndex The index of the view to remove
@returns The removed view
Removes a view from a container i . e . detaches it and then destroys the underlying LView .