Load a template from the Documents(cordova.file.documentsDirectory) in ios(iPad)


#1

I have to download a template from a web server to the cordova.file.documentsDirectory in iOS, then need to load the template from iOS cordova.file.documentsDirectory.

.state(‘app.jobList’, {
url: ‘/jobList’,
views: {
‘menuContent’: {
templateUrl: ???,
controller:‘JobListCtrl’
}
}
})

How can I specify the path for the templateUrl?