Instantiate the outputCordovaJS file outside the foreach.
- No more angular services => replaced by singleton scala object.