Tested angular js functionality