code: function parseJSON(str) {
                                              var result;
                                              try {
                                                  result = $scope.options.parserFn(str);
                                              } catch (e) {
                                                  return str;
                                              }
                                              return result;
                                          }
docs: Parse the response, and then emit the event passing along the response and the uploaded files!