You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wojciech Trocki (JIRA)" <ji...@apache.org> on 2018/05/17 11:36:00 UTC

[jira] [Commented] (CB-14095) How to get the current directory in AngularJS?

    [ https://issues.apache.org/jira/browse/CB-14095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478927#comment-16478927 ] 

Wojciech Trocki commented on CB-14095:
--------------------------------------

[~viveknuna] Please use stackoverflow for question type issues. You are probably looking for file transfer plugin

> How to get the current directory in AngularJS?
> ----------------------------------------------
>
>                 Key: CB-14095
>                 URL: https://issues.apache.org/jira/browse/CB-14095
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: AllPlatforms
>    Affects Versions: 8.0.0
>            Reporter: Vivek Nuna
>            Priority: Major
>
> I'm using Cordova to build my Web and Android application using AngularJS. I want to get the physical path of the current directory in controller file (.js) file. I need this path because I need to send this path to a server API to download a file from server to this path. I come across {{$location.path}} but it gives url not the physical path



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org