Update ngMidwayTester.js

Added support for RequireJS / AMD