Fixed issue with easy-zoom directive

@jedmao, @texasag please CR and merge