Upload multiple files in angular

Here is file value binding directive example .. http://plnkr.co/edit/B13t84j5IPzINMh1F862?p=preview Js code is: var app = angular.module(‘myApp’, []); app.controller(‘MainCtrl’, function($scope) { $scope.name=”World”; $scope.files = []; $scope.upload=function(){ alert($scope.files.length+” files selected … Write your Upload Code”); }; }); app.directive(‘ngFileModel’, [‘$parse’, function ($parse) { return { restrict: ‘A’, link: function (scope, element, attrs) { var model = $parse(attrs.ngFileModel); var … Read more

How do I use Google Chrome 11’s Upload Folder feature in my own code?

You should be able to see a demo here: http://html5-demos.appspot.com/static/html5storage/demos/upload_directory/index.html Basically it works by setting up an attribute “webkitdirectory” on a file input element. <input type=”file” id=”file_input” webkitdirectory=”” directory=””> Then when the user has selected a folder, it itterates across the “e.target.files” object to get a list of files included in the selection (this enables … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)