hunk.code_window: 	if err != nil {
   		return &httperror.HandlerError{http.StatusBadRequest, "Invalid stack identifier route variable", err}
   	}
   	externalStack, _ := request.RetrieveBooleanQueryParameter(r, "external", true)
   	if externalStack {
   		return handler.deleteExternalStack(r, w, stackID)
   	}
   	id, err := strconv.Atoi(stackID)
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit: 	log.Printf("External stack value: %v", externalStack)
  
hunk.file_path: api/http/handler/stacks/stack_delete.go
hunk.type: add
file: angular.module('portainer.docker')
  .controller('ContainersController', ['$scope', 'ContainerService', 'Notifications',
  function ($scope, ContainerService, Notifications) {
  
    function initView() {
      ContainerService.containers(1)
      .then(function success(data) {
        $scope.containers = data;
      })
      .catch(function error(err) {
        Notifications.error('Failure', err, 'Unable to retrieve containers');
        $scope.containers = [];
      });
    }
  
    initView();
  }]);
  