added angular functionality for add button

when you click the add button the item is added to the list