``` var AppComponent = ng .Component({ selector: 'my-app' }) .View({ template: '

My First Angular 2 App

' }) .Class({ constructor: function () { } }); document.addEventListener('DOMContentLoaded', function() { ng.bootstrap(AppComponent); }); ```