You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is very strange that the console log part is never hit and there is no exception. By removing the moduleId: 'IsThisReserverdWord' property it is all fine.
Is moduleid reserved key word as when i try and print the moduleId without having any other property in test it gives undefined and also if i try and print moduleId2 in the above test object it throws error test1 is not defined.
it's working for me because I don't use CLI.
The OP question is Is moduleId a reserved Keyword in Angular?. No, it's not a reversed keyword. If it doesn't work in CLI this means it's a CLI issue. https://github.com/angular/angular-cli/issues - CLI repo
Activity
DzmitryShylovich commentedon Mar 19, 2017
http://plnkr.co/edit/6UTClINXw8JEZPzujTqp?p=preview works like a charm
laclac777 commentedon Mar 19, 2017
The issue can reproduced with a webpack CLI project.
DzmitryShylovich commentedon Mar 19, 2017
ok, re-open it on https://github.com/angular/angular-cli/issues
because I can't reproduce it neither in plunkr nor in https://github.com/AngularClass/angular2-webpack-starter
rahulrsingh09 commentedon Mar 19, 2017
@DzmitryShylovich I am using AngularCli and this is not working over there,Not sure how its working for u
DzmitryShylovich commentedon Mar 19, 2017
it's working for me because I don't use CLI.
The OP question is
Is moduleId a reserved Keyword in Angular?. No, it's not a reversed keyword. If it doesn't work in CLI this means it's a CLI issue. https://github.com/angular/angular-cli/issues - CLI reporahulrsingh09 commentedon Mar 19, 2017
@DzmitryShylovich Shall i post this in Cli issues ? can i get a answer there
DzmitryShylovich commentedon Mar 19, 2017
@rahulrsingh09 yeas, please, open this in cli repo. thanks
IgorMinar commentedon Mar 20, 2017
resolving since this is being handled within the cli project
angular-automatic-lock-bot commentedon Sep 11, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.