added examples for amgular directives
added code for iteration