don't reference scope in the directive, instead reference passed in parameter