sonicoder86 / angular2-babel-esnext-starter

Angular development and testing examples with Babel in Javascript (ES6/ES7).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Annotation is not es6

FBerthelot opened this issue · comments

I create this issue just to notice you that decorator is not es6 😄

You can do things like this :

export const AppComponent = Component({
        selector: 'my-app',
        template: '<h1>My Angular 2 App in true es6</h1>'
    })
    .Class({
        constructor: function() {}
    });

Maybe there is better and more beautiful way to avoid annotation, but didn't find it yet 😃

Yes i know.
Is there a way to make a redirect for the old name if i rename the repository for example angular2-esnext-starter?

Yes, github do it automatically ;)
But not npm nor bower.

It is not published there so it can work.

Renamed the repo to esnext, now time to update the external links.