try/catch
mv $scope.$apply()
rm success()
replace xhr with $timeout
Merge pull request #8 from Trott/rm-xhr

Rm xhr