Angular test with compilation