Reputation: 4433
I come from Rails, and have recently started doing some Angularjs. I am used to Sass, so I caught on to Less fairly quickly. I'd love to use something for HTML and possibly even JS.
Is there a HTML templating language like SLIM for Angular / Node / Sails?
Is there something like coffeescript for that stack? (is this a dumb question since it is a JS framework?)
Upvotes: 1
Views: 422
Reputation: 8472
Is there a HTML templating language like SLIM for Angular / Node / Sails?
The equivalent of SLIM would be a Node.js template engine, regardless of what you're using on the client (Angular or anything else). Some popular options are EJS and Jade.
Is there something like CoffeeScript for that stack?
Again, CoffeeScript is framework agnostic, as it is just a language that compiles to JavaScript, so you could certainly use it in an Angular project or anywhere else that you'd normally write JavaScript.
Upvotes: 2