Create input-directive.js