Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Using HTML view templates in Express JS framework

Posted: February 22, 2015
Written by: Saints At Play
Category: Express JS

One of the great things about working with the MEAN stack (MongoDB, Express JS, AngularJS and Node - for those not in the know!) is its relative simplicity: JavaScript is the common thread tying all the components of the stack together, so the learning curve is relatively shallow.

One of the worst things? Jade templates.

Seriously.......Jade sucks.

Here's how to get the Express framework to use HTML templates instead.

More »

Latest Tweets

  • #Facebook’s #FacialRecognition tool faces class action suit over mishandling #biometric #data

    twitter.com/i/web/status/9… Published 4 days ago
  • #ElonMusk drafts in humans after #Robots slow down #teslamodel3 production

    twitter.com/i/web/status/9… Published 4 days ago
  • Mastering @ionicframework #appdevelopment

    twitter.com/i/web/status/9… Published 11 days ago
  • Working with #php & #sqlite in @Ionicframework #Apps

    twitter.com/i/web/status/9… Published 12 days ago
  • Take the Wolfowitz doctrine add the Project for a new American Century combine with compliant/compromised… https

    twitter.com/i/web/status/9… Published 12 days ago
  • First the #RussianSpyPoisoning, now the #SyriaGasAttack - NO independently verified evidence for ANY of the… https

    twitter.com/i/web/status/9… Published 12 days ago
  • The whole #SyriaGasAttack narrative (repeated HOW many times over the past 5 years??! [each time independent inspec… https

    twitter.com/i/web/status/9… Published 12 days ago
  • Managing @ionicframework #application #data with #pouchdb

    twitter.com/i/web/status/9… Published 12 days ago
  • Developing cross platform @Ionicframework #apps with #capacitor

    twitter.com/i/web/status/9… Published 13 days ago
  • #AssadHitsDoumawithChemicals right when he's on the verge of #victory??? Yeah, that makes sense..I totally trust ou… https

    twitter.com/i/web/status/9… Published 15 days ago
  • How many times has the #West tried to blame #Assad for every single previous #ChemicalAttack in #Syria and been pro… https

    twitter.com/i/web/status/9… Published 15 days ago
  • Even #CaptainAmerica needs some #MeTime! https

    Published 16 days ago
  • Share your @Ionicframework #ebook testimonial here

    twitter.com/i/web/status/9… Published 16 days ago
  • @historylvrsclub Enough with the liberal, pro-migrant narrative @historylvrsclub. It was an American family and Ame… https

    twitter.com/i/web/status/9… Published 17 days ago
  • Unit testing @ionicframework #apps with #jest

    twitter.com/i/web/status/9… Published 17 days ago
  • @historylvrsclub Conor McGregor!

    Published 18 days ago
  • @historylvrsclub Yeah, it’s called chemical enhancement

    Published 18 days ago
  • @historylvrsclub Enough with the lies/sneaky liberal agenda @historylvrsclub - He was the abandoned son of a Syrian… https

    twitter.com/i/web/status/9… Published 18 days ago
  • Using #angular pipes with @ionicframework #apps

    twitter.com/i/web/status/9… Published 18 days ago
  • Share your experiences with my @ionicframework #ebooks

    twitter.com/i/web/status/9… Published 19 days ago