Vern,

documentation is being rewrritten, most of it, if not all, is obsolete, 
deprecated. I recommend you strongly to move on to the latest alpha version 
(alpha 42)

 At alpha 42 there are some points to consider :

- Traceur was removed, you don't need it anymore.
- Systemjs was upgraded to 0.18.x (this was prior to alpha 42, but still)

See this configuration file from pkozwloski 
: https://github.com/pkozlowski-opensource/ng2-play/blob/master/index.html
That's all the configuration you need!

Note : this line is important

System.config({defaultJSExtensions: true});

I'm pretty sure that line would solve the issue you have right now.

Check the changelog from alpha 35 there have been a lot of breaking 
changes 
https://github.com/angular/angular/blob/master/CHANGELOG.md#200-alpha35-2015-08-19

Trying to sum up what you need so far :

- @View is now optional, you won't have issues there, just in case you want 
to save a few keystrokes...
- bind was renamed to provide
- routerInjectables was renamed to ROUTER_BINDINGS, and ROUTER_BINDINGS was 
renamed to ROUTER_PROVIDERS
- In your RouteConfig, the "as" is written with PascalCase now, so if you 
have
{ path: '/study/:id', as: 'study', component: Study },
Now it should be
{ path: '/study/:id', as: 'Study', component: Study },

Note the uppercase in 'as: Study' (in future releases 'as' will be renamed 
to 'name'). This will also affect your router-links. 
Again, if your router-link looks like 
[router-link]="[/study]"
It should now look like
[router-link]="[/Study"]

That's what I can see in your code to jump from a35 to a42. My 
recommendation is always stick to the last alpha release, so you don't have 
to make too many breaking changes in your projects. There's not point in 
stick to something that is changing constantly and is being deprecated and 
unsupported (if you go to their github repo and ask for help with alpha35 
all of the answers will be : "we are in a42, upgrade.")

Regards

PS : Sorry for the messy answer :P

-- 
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