Using Angular 2 without TypeScript Transpiler

Angular2 is available in TypeScript, JavaScript and Dart. No need to use TypeScript. See– https://angular.io/docs/js/latest/index.html– http://blog.thoughtram.io/angular/2015/05/09/writing-angular-2-code-in-es5.html– http://blog.thoughtram.io/angular/2015/07/06/even-better-es5-code-for-angular-2.html See also Is it possible to use ES5 JavaScript with Angular 2 instead of TypeScript?

How do I call a JavaScript function on page load?

If you want the onload method to take parameters, you can do something similar to this: This binds onload to an anonymous function, that when invoked, will run your desired function, with whatever parameters you give it. And, of course, you can run more than one function from inside the anonymous function.[