Insert to project <script src="lib/fix-mask-input/fix-mask-input.js"></script> Insert module angular.module('myModule', ['fixMaskInput']) Use <input type="text" mask="999.999.999-99" placeholder="cpf" fix-mask-input />