Re: [AngularJS] Re: angular and chrome.fileSystem

2015-03-21 Thread Alexandre LESAGE
; $scope.$apply(); readEntries($scope); } }, errorHandler); }; readEntries($scope); // Start reading dirs. } } Thanks On Saturday, March 21, 2015 at 11:56:44 AM UTC+1, Alexandre LESAGE wrote: Hi Sander Elias, Sorry I have not thought about making

Re: [AngularJS] Re: angular and chrome.fileSystem

2015-03-21 Thread Alexandre LESAGE
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

[AngularJS] angular and chrome.fileSystem

2015-03-20 Thread Alexandre LESAGE
Hello, I would like to display locals directories and files with chrome.System and angular. So I have a controller : angular.module('DirectoryBrowser', []) .controller('DirectoryBrowserCtrl', ['$scope', '$http', function ($scope, $http) { $scope.openModalChooseDirectory =