anchor.diff:  				$scope.uploader.addToQueue(files);
   					};
   
  -			$scope.onSubmit = function(event) {
  -				if ($scope.boardFreeWrite.$valid && $scope.content.length >= Jakduk.SummernoteContentsMinSize) {
  -					$scope.validationGalleries();
  -					$scope.btnSubmit = true;
  -				} else {
  -					$scope.validationCategory();
  -					$scope.validationSubject();
  -					$scope.validationContent();
  -
  -					$scope.buttonAlert = {"classType":"text-danger", "msg":'<spring:message code="common.msg.need.form.validation"/>'};
  -					event.preventDefault();
  -				}
  -			};
  +			$scope.onSubmit = onSubmit;
   
   			$scope.validationCategory = function() {
   				if ($scope.boardFreeWrite.categoryName.$invalid) {
  
positive.code: 
  	angular.module("jakdukApp", ["summernote", "angularFileUpload", "angular-ladda"])
  		.controller('FreeWriteCtrl', function($scope, $http, $window, FileUploader) {
  			$scope.categoryAlert = {};
  			$scope.subjectAlert = {};
  			$scope.contentAlert = {};
  
negative.code: 			$scope.storedImages = [];
  
  			$window.onbeforeunload = function(e) {
  				if (!isSubmitted && !$scope.boardFreeWrite.$pristine) {
  					(e || window.event).returnValue = '<spring:message code="common.msg.are.you.sure.leave.page"/>';
  					return '<spring:message code="common.msg.are.you.sure.leave.page"/>';
  				}
  