Jeff
Jeff

Reputation: 4433

HTML Template Language for Angularjs

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.

  1. Is there a HTML templating language like SLIM for Angular / Node / Sails?

  2. Is there something like coffeescript for that stack? (is this a dumb question since it is a JS framework?)

Upvotes: 1

Views: 422

Answers (1)

Drew Gaynor
Drew Gaynor

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

Related Questions