added angular js test code