I am using the 5 min quickstart from angular.io website, which contain a file structure like this:
angular2-quickstart app app.component.ts boot.ts i
I'm working with Angular 2.4. I needed an extra step to make it work. This was update systemJs reference to main.js file in index.html it's, from:
System.import('main.js').catch(function(err){ console.error(err); });
to:
System.import('dist/main.js').catch(function(err){ console.error(err); });