This directive allows you to change the size of an element using the mouse