added ability to get data from function that creates the data array
changed style in order to be able to put the directive near other buttons (display: inline)
reverse
fix click, added ability for lazy load, added ability to use "header" as function for dynamiclly create it,
added example, fixed bug with $digest loop
Fixed digest loop