Move some thing to $root scope