added uniqueid's for directive input boxes. Fixed bug in ng-model (ne-model typo).