function fetchFiles() {
    dropboxService.di = diNotify({
      message: 'Fetching Markdown related files from Dropbox...',
      duration: 5000
    });

    return $http.post('import/dropbox', {fileExts: 'md'}).then(
      function successCallback(response){
        if (angular.isDefined(dropboxService.di.$scope)) {
          dropboxService.di.$scope.$close();
        }
        dropboxService.files = response.data;
        return dropboxService.files;
      }, function errorCallback(err){
          if (angular.isDefined(dropboxService.di.$scope)) {
            dropboxService.di.$scope.$close();
          }
          return diNotify({
            message: 'An Error occured: ' + err.data
          });
      });
  } // end fetchfiles
Fetch all Markdown related Files from Dropbox.