anchor.diff:        if status = 422
           alert data.error
   
  -    $scope.pathBuild = (path, next) ->
  +    $scope.pathBuild = (path, next = '') ->
  +      if next
  +        next = '[' + next + ']'
         if path
  -        path += '[' + next + ']'
  +        path += next
         else
           path = next
         return path
  
positive.code: 
        switch method.method.toLowerCase()
          when 'post', 'delete', 'put'
            fd.append 'a', 'a' # TODO sending empty array causes EOFError
  
            $.each method.parameters, (i) ->
              $scope.addParameterToForm fd, this
          when 'get'
            url = ''
            $.each method.parameters, (i) ->
  
negative.code:             form.append path, parameter.value || ''
  
      $scope.addArrayToForm = (form, parameter, path = '') ->
        path = ($scope.pathBuild path, parameter.name) + '[]'
        $.each parameter.values, ->
          $.each this, ->
  