javascript - POST and GET with Grunt ( GruntFile.js ) -



javascript - POST and GET with Grunt ( GruntFile.js ) -

as you'll notice, i'am new yeoman , grunt. have installed "yeoman angular generator" , i'am having problem passing info between grunt server ( gruntfile.js ) , web pages ( index.html ). i'am trying post , express ( node.js ) does. want send variables client side ( html ) server ( grunt ) , able recieve info ( variables , json, html )

the angular generator : https://github.com/yeoman/generator-angular

the gruntfile.js : http://www.filetolink.com/293e57448f

i pretty sure yeoman angular generator create simple static website no server side ability.

if want fetch informations can:

put static json files in web directory. (if don't need server side processing) build little server

for sec solution can go on utilize yeoman if like. there few generator one: https://www.npmjs.org/package/generator-express

javascript node.js angularjs yeoman

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -