Angular 2 simple real world example using Javascript

98 views
Skip to first unread message

dmitry...@gmail.com

unread,
Jan 4, 2016, 6:12:05 PM1/4/16
to AngularJS
Hi!

I have read the official guide for Javascript, there is much describing stuff for Typescript, but nothing really exists for Javascript.
I have application, written with Angular 1.x, which I want to update to Angular 2.0.

After trying to bootstrap an application using Angular 2.0 for 2 days, I'm little bit lost, because I was unable yet to bootstrap 
simple application using Javascript, using more than one component, using injection, service and routing.

Does somebody have an example for an architecture of Angular 2.0 application, using Javascript, which includes example how to 
compose components, how to setup routing, injecting services, simple basics needed to bootstrap architecture for a complex application
using plain Javascript, not Typescript??

Thanks for any help in before.

KV Yates

unread,
Jan 7, 2016, 10:45:15 AM1/7/16
to AngularJS
You can find examples on the angular.io site under their QuickStart section. Just select the Angular 2 For JavaScript under the title and you will see examples for JS rather than TS.

HTH,
Kenny
Reply all
Reply to author
Forward
0 new messages