generator-angular
generator-angular copied to clipboard
The main module name is wrong when I setting a name after "yo angular"
- First
yo angular Test-App-Name
- Then in "index.html", I got the ng-app name
<body ng-app="TestAppNameApp">
and in "scripts/app.js", I got this
angular.module('testAppNameApp', [])
What version did you use? I just tried this with the latest version from NPM and it doesn't seem to be an issue anymore.
This doesn't seem to be an issue since v0.2.0. Please make sure you're up-to-date, but let me know if the issue persists.