Change $ref to a function.  Clean up Watcher listeners.