injected rootscope into companydetail
checking in stream changes before switching branches