Squashed commit of the following:

commit 6a391194b89148d59919911f38ac63062f225fbc
Author: Connor Stroomberg <c.stroomberg@gmail.com>
Date:   Thu Jun 26 11:51:51 2014 +0200

    clean up code + change alert to modal

commit 0c72ed9377fa7d8b5acd66a2657c5e3d6cec1ad4
Author: Connor Stroomberg <c.stroomberg@gmail.com>
Date:   Wed Jun 25 16:46:24 2014 +0200

    move test code to networkMetaAnalysisController + bug fix for scroll to top on error

commit 6be57e8dff533a38bb0b66c472647620f6f4084b
Author: Connor Stroomberg <c.stroomberg@gmail.com>
Date:   Wed Jun 25 16:35:33 2014 +0200

    refactor interceptor to addis style injection + move alert directive to main jsp + scroll to top on error

commit 500cd5530c1bee8d4d97babfacb5a5335655a086
Author: Connor Stroomberg <c.stroomberg@gmail.com>
Date:   Wed Jun 25 16:02:12 2014 +0200

    test setup for testing error message