Hey In my angular2 app I m gettign this error :
Potentially unhandled rejection [3] Error loading "app" at http://localhost:8080/app.js
I m using official example, here is code :
app.js
import {Component, View, bootstrap} from 'angular2';
@Component({
selector: 'my-app'
})
@View({
template: '<h1>My first Angular 2 App</h1>'
})
class AppComponent {
}
bootstrap(AppComponent);
index.html
<!DOCTYPE html>
<html>
<head>
<script src="https://github.jspm.io/jmcriffey/[email protected]/traceur-runtime.js"></script>
<script src="https://jspm.io/[email protected]"></script>
<script src="https://code.angularjs.org/2.0.0-alpha.26/angular2.dev.js"> </script>
</head>
<body>
<my-app></my-app>
<script>
System.import('app');
</script>
</body>
</html>