Solved it using the following for checkboxes (angular):
<input type="checkbox" name="user[account_ids][]"
value="{{ hood.id }}">{{ hood.name }} </div>
This will update the model's many-to-many relationship so that I can query user.account_ids and get an updated list.