Angular version of the test

Haven't been able to test in IE since I don't have access yet but I think it works.