Removed unused $rootScope reference from fileUpload Service and $http reference from Directives.
Removed the Duplicate declaration of var 'i';
Merge pull request #168 from a5hik/master

Removed unused $rootScope, $http reference from fileUpload Service and Directives.