angular
  .module('tas', [])
  .controller('TasController', function () {
    var vm = this;

    vm.data = [
      {
        nickName: 'TAdam',
        name: 'Adam',
        firstName: 'Adam',
        lastName: 'Kèésecker',
        current: true
      },
      {
        nickName: 'ZAdam',
        name: 'Adam',
        firstName: 'Zöe',
        lastName: 'Ames',
        current: true
      },
      {
        nickName: 'JuAdam',
        name: 'Adam',
        firstName: 'Juan',
        lastName: 'Rødrįguež',
        current: true
      },
      {
        nickName: 'BrAdam',
        name: 'Adam',
        firstName: 'Brian',
        lastName: 'Hiått',
        current: false
      },
      {
        nickName: 'BAdam',
        name: 'Adam',
        firstName: 'Adam',
        lastName: 'Barñhærd',
        current: false
      }
    ];

    vm.addTA = function () {
      var obj = {
        name: vm.newName,
        nickName: vm.newNickname,
		firstName: vm.newFirstName,
		lastName: vm.newLastName
      };

      vm.data.push(obj);
    }

    vm.removeTA = function (person) {
      var index = vm.data.indexOf(person);
      vm.data.splice(index, 1);
    };

  });

@@ -834,16 +834,36 @@
     %5D;%0A%0A
+    vm.newTA = %7B%7D;%0A%0A
     vm.a
@@ -894,107 +894,75 @@
    v
-ar obj = %7B%0A        name: vm.newName,%0A        nickName: vm.newNickname,%0A%09%09first
+m.newTA.name = 'Adam';%0A      vm.newTA.nick
 Name
-:
+ =
  vm.new
-F
+TA.f
 irstName
 ,%0A%09%09
@@ -961,77 +961,93 @@
 Name
-,%0A%09%09lastName: vm.newLastName%0A      %7D;%0A%0A      vm.data.push(obj
+%5B0%5D.toUpperCase() + 'Adam';%0A%0A      vm.data.push(vm.newTA);%0A      _clearNewTA(
 );%0A    %7D
 %0A%0A  
@@ -1042,16 +1042,17 @@
 );%0A    %7D
+;
 %0A%0A    vm
@@ -1166,14 +1166,71 @@
     %7D;%0A%0A
+    function _clearNewTA() %7B%0A      vm.newTA = %7B%7D;%0A    %7D%0A%0A
   %7D);%0A

add clear input function. add new ta object