How to use Angular 2 (or 4) frames from CDN

In Angular 1.x, we were able to bind to the Angular structure using the CDN ( https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js ). Is this option available in Angular 2?

+5
source share
1 answer

You can try CDN like unpkg

Download the JS and ES6 system:

<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script> 

Plnkr example

JSFiddle example

+5
source

All Articles