I am new in angular and there are many variables in an existing code that I want to acess from an other controller other than where they get declared. The controllers are sibling controllers. Does anyone has any other idea how something like that can work or is firing to the rootscope the only possibility?
I tried firing to the rootscope but that didint work.