wrong scope in each directive