primary input drawn by ng-repeat