add function and directives
add 'Add' button to create new to-do item