Changed scope binding in pubsub