A serial number input directive for using angular.js