In this demonstration, we are using ES5 instead of TypeScript and ES6 to code and run the Angular 2 code.