lib/vnu-angular.js
Function validate
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.validate = function (input, callback, vnuPath) {
/*
Run validatornu for AngularJS.
callback should be a function that has the following parameters:
err: error when the parsing is failed. if succeeded, this will be falsy value.