whole_func_string: function(opts) {
  
        if (!navigator.camera) {
          return $q.reject(
            new Error('Camera module (navigator.camera) not available')
          );
        }
  
        // Extend defaults
        var options = angular.extend(defaults, opts || {});
  
        return $q(function(resolve, reject) {
          navigator.camera.getPicture(resolve, reject, options);
        });
      }
func_code_string: function(opts) {
  
        if (!navigator.camera) {
          return $q.reject(
            new Error('Camera module (navigator.camera) not available')
          );
        }
  
        // Extend defaults
        var options = angular.extend(defaults, opts || {});
  
        return $q(function(resolve, reject) {
          navigator.camera.getPicture(resolve, reject, options);
        });
      }
func_documentation_string: @ngdoc method
  @name cordovaCamera#getPicture
  @methodOf eha.common.services.cordova.camera
  @param {object} options An object of configuration values to be passed to [org.apache.cordova.camera](https://github.com/apache/cordova-plugin-camera/blob/master/doc/index.md)
  @returns {string} A promise that will either resolve with a picture or reject with an exceptions
  @description
  
  Accepts an object of options