我想保留所有的代碼仍然在1.x中,並且希望代碼很容易升級到後者的angularjs 2。爲了使我的代碼遵循角2樣式,我想先在1.5.x中使用typescript和systemjs。如何設置angularjs 1.5.x與systemjs和打字稿一起工作
有沒有人有解決方法/如何設置angularjs 1.5.x與systemjs和typescript工作的代碼?
這是我發現用巴貝爾作爲編譯器的最佳匹配:https://github.com/swimlane/angular1-systemjs-seed 但我想systemjs與打字稿一起工作,在角1
這應該讓你開始。 http://legacytotheedge.blogspot.com.au/2015/01/using-es6-with-your-angularjs-project.html – synapze