gothinkster / angularjs-realworld-example-app

Exemplary real world application built with Angular 1.5 + ES6
https://angularjs.realworld.io
MIT License
453 stars 376 forks source link

How to call controller method from other js file ? #3

Closed WarGot-by closed 3 years ago

WarGot-by commented 7 years ago

Good day. May be you help me. I use this code base in my application. I have a problem. How to call controller method in other js file and send some data to him ?

verygreenboi commented 7 years ago

Use a service.

geromegrignon commented 3 years ago

Closing as answered