Answered: How can I call Controller-Function from refreshFn() ?
Answered: How can I call Controller-Function from refreshFn() ?
Hello,
I have a function getResults() which loads a JSONP-Store and makes some things with the result.
These things are implemented in my controller (I have currently only one). Now I want to reuse the same function within the refreshFn() - defined in the PullRefreshPlugin. So how can I call it from there?