Mouse resize with angular directive