Testing angular js application.