Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14095

How to get the current directory in AngularJS?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 8.0.0
    • None
    • AllPlatforms
    • None
    • Important

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            viveknuna Vivek Nuna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: