Add angular mock, routeSecurity, fix karma.