Ionic framework and ngdraggable drag coordinates issue

I am using ngdraggable with ionic framework for dragging and dropping divs containing images.

I have a header and subheader defined on my page, while I drag divs, coordinates are not perfectly points to location where I am dragging div, It is dragging down and adding header and subheader heights.

Is there any way to resolve this issue?