<input autocomplete="off" ng-keyup="$event.keyCode == 13 && saveNew($index, prop.id)" name="modelSelected" placeholder="Введите имя свойства" type="text" ng-model="prop.selected">
var canceler = $q.defer();
$http.post('/someUrl', {timeout: canceler.promise})
.then(
response => successCallback(response),
reason => failCallback(reason)
);
canceler.resolve();