at moment angular 2 in 13th beta. when @ https://code.angularjs.org/2.0.0-beta.13/ can see there 2 different versions of angular2:
- angular2-all.umd.js
- angular2.js
what's difference between two? , apperently angular2.js doesn't have angular2.umd.js version, why this?
in fact, angular2-all.umd.js
must used if want implement angular2 applications es5.
angular2.js
core module implement angular2 applications es6 or typescript. file must used along module manager systemjs.
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script> <script src="node_modules/systemjs/dist/system.src.js"></script> <script src="node_modules/rxjs/bundles/rx.js"></script> <script src="node_modules/angular2/bundles/angular2.dev.js"></script>
Comments
Post a Comment