Angular JS access scope from outside of controller
<p>So I've just tried making the change from plain JS to angular and I'm wondering how I would access my controllers scope from another .js file.  I've looked around and I've tried a couple of ways but no luck.</p>

<p>I've found similar questions such as below such as </p>

<p><a href="https://stackoverflow.com/questions/16709373/angularjs-how-to-call-controller-function-from-outside-of-controller-component">AngularJS. How to call controller function from outside of controller component</a></p>

<p><a href="https://stackoverflow.com/questions/15424910/angularjs-access-scope-from-outside-js-function">AngularJS access scope from outside js function</a></p>

<p>I'm not looking to make any changes to a scope value, rather just use a function from within the scope. Any ideas on how I'd go about calling the function from the controllers scope in another .js file ?</p>