code: function removeView(container, removeIndex) {
      var viewNode = container.data[VIEWS][removeIndex];
      detachView(container, removeIndex);
      destroyLView(viewNode.data);
      return viewNode;
  }
docs: 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