/*global angular */

(function (angular) {

    // -- MODULE DECLARATION
    angular.module("ngFilemodel", [])

    // DIRECTIVE
    .directive("ngFilemodel", [function () {
        return {

            restrict: "A",
            require: "ngModel",

            link: function (scope, element, attrs, ngModelCtrl) {

                // file select -> model
                element.bind("change", function (event) {
                    ngModelCtrl.$setViewValue(event.target.files);
                });

                // model -> file select
                ngModelCtrl.$render = function () {
                    if (!ngModelCtrl.$viewValue) {
                        element.val(null);
                    }
                };

            }

        };
    }]);

})(angular);

@@ -35,16 +35,34 @@
 gular) %7B
+%0A    %22use strict%22;
 %0A%0A    //
@@ -757,16 +757,17 @@
        %7D
+,
 %0A%0A      

Add "use strict" statement