added JavaScript code style (JSCS) and refactor to yandex codestyle
angularjs 1.3 validation (fields_form in ng-repeat)