driftyco/ng-cordova — pull request #180 by zdenal (2014-08-27 15:22:52+00:00)
Title: File callbacks

Since cordova plugin file changed handling paths (relatives) with v1.0.0 you cannot set absolute path yourself:
```
exec(win, fail, "File", "getDirectory", [this.toInternalURL(), path, options]);
```
where this.toInternalURL() set root of directories for you.
It is better return also entry back with promise. Then you can reuse entry (and get URL) out of the method with file-transfer plugin etc.. In error case the error code will be returned.