Hi AlexL,
Return the entries var, and assign it to a scope var.
Something like: scope.entries = loadDirEntry(theEntry).
Does that help a bit. Building a plunk is a bit moot for this, as it only
works in chrome apps ;)
Regards
Sander
--
You received this message because you are subscribed
After some test, it works good :
angular.module('DirectoryBrowser', [])
.controller('DirectoryBrowserCtrl', ['$scope', '$http',
function ($scope, $http) {
$scope.openModalChooseDirectory = function() {
chrome.fileSystem.chooseEntry({type: 'openDirectory'},
function(theEntry)
Hi Sander Elias,
Sorry I have not thought about making plunker.
I would have like to return entries of loadDirEntry(theEntry) but in
openModalChooseDirectory $scope is undefined. How can I pass $scope into
function ?
Thank for your help.
AlexL
On Sat, Mar 21, 2015 at 8:21 AM Sander Elias