I have created a custom angularjs project using grunt-init. And want to edit the app module name based on answers given to the prompt while creating the project. But somehow I keep on getting blank string when I use the props object.
Asked
Active
Viewed 14 times
1 Answers
0
I was able to figure it out. I was not using the props template correctly. The right way to use it is as below,
var moduleName = "{%= name %}"

Gaurang
- 313
- 1
- 9