我想保留所有的代码仍然在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