Test app using AngularJS and Rails API