Directive for sticky elements for AngularJS