Added external resource to backbone post on repository pattern and promises