Novanet Christmas calendar 2016 (Open sourced)

by Hallstein Brøtan

Christmas is closing in, and during this last month of the year we've been running a company Christmas calendar quiz. The calendar has been a success internally, but also attracted attention from customers and colleagues from other consultant firms (who wants to join in, but are not allowed..) The purpose…

Rewrite rules in ASP.NET core middleware

by Hans Arne Vartdal

If you, like me, came from the ASP.NET MVC world when you started with SPAs and Angular, you have probably at some point created a "one controller, one view MCV application", hosting the starting point of your Angular application. We could question how sensible that is, but either way,…

Make Selenium wait for ajax calls using AngularJS (and TypeScript)

by Hallstein Brøtan

Acceptance tests for GUI are commonly regarded as painful, mainly caused by two factors: They have a long feedback loop Their stability is poor A common stability issue is dealing with asynchronous requests. Because ajax calls takes an unknown amount of time to complete, the test might do some assertion…

AngularJS, Internet Explorer, textarea and placeholder

by Mats Oustad

I encountered an issue regarding placeholder attribute and interpolation on textareas in AngularJS(using version 1.2.16) For example: <textarea name="someComment" id="someComment" ng-model="someModel.comment" placeholder="{{somePlaceholder}}"></textarea> In IE10 and IE11 this will generate the following error: Error: Invalid argument. at interpolateFnWatchAction…

AngularJS Part 4 - The Factory

by Yngve Bakken Nilsen

This post is part of a series of posts on AngularJS, and here are the parts so far: AngularJS Part 1 - Getting started with the basics AngularJS Part 2 - Getting started with Controllers AngularJS Part 3 - Routes and Views AngularJS Part 4 - The Factory When working…