Hi!

First of all, the code is written in AtScript, not TypeScript. Then you
must know that Plunker is able to do AtScript -> ES5 transpilation using
traceur.
So the difference is that if you want to run ng2 code on your machine you
need to transpile  AtScript -> ES5 code.

If you are not sure how to do it / configure the entire setup, you can use
one of the starter kits, ex.:
https://github.com/pkozlowski-opensource/ng2-play

Cheers,
Pawel

On Thu, Apr 30, 2015 at 5:19 PM, Fielding <[email protected]> wrote:

> There is a typescript-version example on the angular2 website. It is
> working fine in Plunker, but i failed to run it on my local machine.
>
> example link: (typescript version)
> http://plnkr.co/edit/MRz2i7sjupzxERPAa3SF?p=preview
>
>
> On my localhost machine, i got below errors. And it seems typescript
> "main.es6.js" is not compiled into "main.js“, but i have no idea what's the
> difference between plunker and my machine.
>
>
> <https://lh3.googleusercontent.com/-MX22hOAzCBo/VUJG4INi3AI/AAAAAAAADCQ/l7iFaKIIhbM/s1600/Screen%2BShot%2B2015-04-30%2Bat%2B23.14.17.png>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
AngularJS book:
http://www.packtpub.com/angularjs-web-application-development/book
Looking for bootstrap-based widget library for AngularJS?
http://angular-ui.github.com/bootstrap/

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to