connect angular controllers unlock, confirm, forgot password with rails