下面plunker鏈路使用角2測試版的代碼,它可以完美運行,塊UI單擊
<head>
<title>angular2 spinner</title>
<link rel="stylesheet" href="src/spinner.css" />
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2-polyfills.js"></script>
<script src="https://code.angularjs.org/tools/system.js"></script>
<script src="https://code.angularjs.org/tools/typescript.js"></script>
<script src="config.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.11/Rx.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2.min.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.11/http.min.js"></script>
<script>
System.import('app')
.catch(console.error.bind(console));
http://plnkr.co/edit/Y2ocRpbi2ORjbULrguDg?p=preview
現在我試圖複製相同與Angular版本2.0.X,但大多數的東西都從RC版本改變。
下面是我當前plunker代碼鏈接,
http://plnkr.co/edit/f6GBBQan7z4I9K1qBZOi?p=preview
我是很新的角度2,請幫我解決這個問題。
謝謝,