coded list, add and remove all together. call back between jquery and
angularjs