Test application with angularJS