implemented angular-rails, built api for projects