Autoscroll an html element using and angular directive.