Angular with Rails API and Calendar