Added param 'iterations' to directive

Hi, I need to set the number of iterations so I just added 'iterations' parameter.
If you think may be useful, I've documented and added to demo page (omit it on doc and/or demo if you want).

Would be great you accept this pull request so I can use this directive from the original source ;)

Thanks!