I have a simple structure div named scrollContainer with overflow-y:scroll rule and an inner larger div called inner.
In the inner div I have some texts and an input. On the input I have an attribute directive called getPosition applied, which should return on scroll event the exact position of the input relative to the top of scrollContainer.
Here is the sample angular app: https://codepen.io/neptune01/pen/vapmLQ
As you can see, tried with offsetTop and other dom properties, but I couldn't find anything that would result what I need.
