Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

directives injection on angular2-app.js #1

Open
smorosoram opened this issue Sep 25, 2015 · 1 comment
Open

directives injection on angular2-app.js #1

smorosoram opened this issue Sep 25, 2015 · 1 comment

Comments

@smorosoram
Copy link

Hi,

I tried to make your project work, and it's almost perfect.

I think that there is an issue with the directives injection though. I just worked on the .js version of the angular2-app file so you may need to update the Typescript version as well, but it looks like you need to replace:
directives: [angular2_1.NgFor, angular2_1.NgIf, angular2_1.formDirectives, angular2_1.CSSClass],

With:
directives: [angular2_1.NgFor, angular2_1.NgIf, angular2_1.FORM_DIRECTIVES],

(so replace formDirectives and remove the CSSCLASS that is not required).

To make it work properly.

I'm also gonna raise an issue for the ng-class for the angular2-grid.html.

Thanks for your work.

@dfbaskin
Copy link
Owner

Not surprised that the Angular2 API changed. I'll try to get it updated with the latest Angular2 at some point.

Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants