If you want to prevent sb else to offer it as an hosted service without releasing source code, AGPL could work.
But sb could still sell your app by just distributing its source code along.
But sb could still sell your app by just distributing its source code along.