I have a Node Js
project where I have all front end files in .ejs
which calls the server.js
which is doing back end work.
1)Does ejs
provide more functionality when compared to html
?
2)Is this the node expressJs functionality ?
3)Can I do angularJs keeping extension as .ejs
? eg:ng-controller
Confused;-)
1) Does ejs provide more functionality when compared to html ?
Yes, EJS and Jade are template engine for node.js and express. With they it's possible to do conditions and access variables returns from the server. Doen't is necessary to send HTML code to the response. They mix all functionality HTML (js, jquery, bootstrap, etc) plus template engine advantages.
2) Is this the node expressJs functionality ?
Is this node.js functionality.
3) Can I do angularJs keeping extension as .ejs? eg:ng-controller
Similar questions:
can i use EJS with Angular js?
Actual use of Jade template and angularjs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With