angularjs rails testing