Fixed some form validation errors.
Added some performance improvements by implementing track by on ng-repeats.