Update ng-sails.js

added 404 check