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

  • Resolving #InternetExplorer 11 caching issues with @angular and @Ionicframework

    twitter.com/i/web/status/1… Published 1 days ago
  • Dynamically rendering event listeners for hyperlinks in embedded HTML with @Ionicframework & @angular

    twitter.com/i/web/status/1… Published 1 days ago
  • Almost a fortnight later and still NO apology/offer of compensation from @HeartInternet - NO answer to my messages… https

    twitter.com/i/web/status/1… Published 2 days ago
  • That 6 month @Ionicframework #development contract went fast but finished VERY well

    Published 2 days ago
  • UPDATED - Learn #AppDevelopment the @Ionicframework way

    twitter.com/i/web/status/1… Published 7 days ago
  • Is it really that difficult to apologise to your customers @HeartInternet for the recent server outage? Maybe offer… https

    twitter.com/i/web/status/1… Published 12 days ago
  • Master developing @Ionicframework #apps

    twitter.com/i/web/status/1… Published 13 days ago
  • How much money are #Customers LOSING with @heartinternet? Looks like there are WAY too many of us

    twitter.com/i/web/status/1… Published 14 days ago
  • @HeartInternet USED to be one of the most reliable, value for money #WebHosting providers out there but in the last… https

    twitter.com/i/web/status/1… Published 14 days ago
  • Can’t thank @HeartInternet enough for helping me to lose potential #OnlineSales and possibly affect my website’s… https

    twitter.com/i/web/status/1… Published 14 days ago
  • Apologies for websites being unavailable/intermittently loading - web host @HeartInternet has screwed up yet again.… https

    twitter.com/i/web/status/1… Published 14 days ago
  • Master @Ionicframework #AppDevelopment with v4 of this awesome #ebook

    twitter.com/i/web/status/1… Published 14 days ago
  • UPDATED! Mastering @Ionicframework #ebook

    twitter.com/i/web/status/1… Published 15 days ago
  • Sad, sad news - #carlosezquerra whose excellent artwork defined much of my childhood and teenage years via… https

    twitter.com/i/web/status/1… Published 44 days ago
  • @mhartington @Ionicframework Appreciate that - forum topic created here

    forum.ionicframework.com/t/problems-wit… Published 87 days ago
  • @mhartington @Ionicframework The npm run build or ionic build --prod CLI functions always throw up ng build related… https

    twitter.com/i/web/status/1… Published 87 days ago
  • @mhartington @Ionicframework Thanks for the reply @mhartington. There's quite a few issues I'm encountering which l… https

    twitter.com/i/web/status/1… Published 87 days ago
  • Creating a #multilingual @Ionicframework #App with NGX-Translate

    twitter.com/i/web/status/1… Published 127 days ago
  • Debugging @Ionicframework #androidapps with #googlechrome Remote Debugging

    twitter.com/i/web/status/1… Published 156 days ago
  • Using @Ionicframework behind a proxy server

    twitter.com/i/web/status/1… Published 163 days ago