Adjusted the getOrientation of agentService to inject the window instead of calling for it in agentService. Also adjusted treeNodeController for this. Added tests for the agentService's getOrientation function.
Adjusted the getOrientation of agentService to inject the window instead of calling for it in agentService. Also adjusted treeNodeController for this. Added tests for the agentService's getOrientation function.