Moved resize body fix into a proper Angular directive