cgross / generator-cg-angular

Yeoman generator for Enterprise Angular projects.
MIT License
592 stars 198 forks source link

partial creating with error in url breaks generator/app #49

Closed bolora closed 10 years ago

bolora commented 10 years ago

When doing "yo cg-angular:partial myPartial" when you get prompted for the url, if you type /myPartial\ it completely breaks everything because the \ escapes the single quote in the templateUrl call in app.js

Should have an error check to let you know that the route url is invalid before inserting.