ticket counter inputs with angularjs