driftyco/ng-cordova — pull request #153 by alastairparagas (2014-08-03 01:51:21+00:00)
Title: readFileAbsolute and readFileMetadataAbsolute

readFileAbsolute and readFileMetadataAbsolute will provide exactly what readFile and readFileMetadata provides, except that they accept absolute file path locations (previous readFile and readFileMetadata methods only accepted relative file paths to which an absolute file path is added with filesystem.root).

Instead of using filesystem.root.getFile, we instead use window.resolveLocalFileSystemURI to resolve the absolute file path location's actual file using the provided absolute file path.