Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

201
Vistas
Where can I find the Angular 2 CDN or source code?

I've been trying to download the source code from angular 2, but I was unable to find it. I looked in their github repository, but couldn't identify the correct one. Can someone point me the one or a working CDN so I can download it?

Edit: I need to get the source without using Node.Js and NPM.

about 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

You can use unpkg.com:

https://unpkg.com/@angular/core@4.0.1/bundles/core.umd.js

https://unpkg.com/@angular/platform-browser-dynamic@4.0.1/bundles/platform-browser-dynamic.umd.js

and so on.

Here is jsFiddle Example

let { Component, NgModule } = ng.core;

@Component({
  selector: 'my-app',
  template: `
    <h1>Hello, {{ name }}</h1>
    <button (click)="increment()">Click {{ counter }}</button>
  `,
})
class HomeComponent {
    counter = 0;
    name = 'Angular 2'

    increment() {
        this.counter++;
    }
}

const { BrowserModule } = ng.platformBrowser;

@NgModule({
  imports:      [ BrowserModule ],
  declarations: [ HomeComponent ],
  bootstrap:    [ HomeComponent ]
})
class AppModule { }

If you don't want to use typescript then here is

Plunker Example Angular es5

about 4 years ago · Santiago Trujillo Denunciar

0

Normally you would use angular.io to download the quick-start or CLI using NPM etc. Here is a copy of the CDN:

https://gist.github.com/johnpapa/dd9b8a06bf93f4b38a3e

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda