Javascript 无法读取属性';浏览器模块';在angular2 es5中未定义的

Javascript 无法读取属性';浏览器模块';在angular2 es5中未定义的,javascript,angular,Javascript,Angular,我使用的是angular2es5,我得到了这个错误 无法读取未定义的属性“BrowserModule” 我的服务器端是带有Laravel5.3的php 这是我的html: <!DOCTYPE html> <html> <head> <title>CRM TEST WITH ANGULAR 2 ES5</title> <meta name="viewport" content="width=device-width, initial

我使用的是angular2es5,我得到了这个错误

无法读取未定义的属性“BrowserModule”

我的服务器端是带有Laravel5.3的php

这是我的html:

<!DOCTYPE html>
<html>
<head>
<title>CRM TEST WITH ANGULAR 2 ES5</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">  
<link rel="stylesheet" href="angular2app/css/styles.css">
<!-- 1. Load libraries -->
<!-- IE required polyfill -->
<script src="https://code.angularjs.org/2.0.0-beta.0/Rx.umd.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.0/angular2-polyfills.js">     </script>
<script src="https://code.angularjs.org/2.0.0-beta.0/angular2-all.umd.dev.js"></script>

<!-- 2. Load our 'modules' -->
<script src='angular2app/js/app/app.js'></script>
<script src='angular2app/js/app/app.module.js'></script>
<script src='angular2app/js/main.js'></script>
</head>

<!-- 3. Display the application -->
 <body>
<my-app>
   Loading ...
</my-app>
有什么想法吗

(function(app) {
app.AppModule =
ng.core.NgModule({
  imports: [
    ng.platformBrowser.BrowserModule,
    ng.forms.FormsModule
  ],
  declarations: [
    app.AppComponent,
    app.LoginFormComponent
  ],
  bootstrap: [ app.AppComponent ]
})
.Class({
  constructor: function() {}
});
})(window.app || (window.app = {}));