upgrading to angular 1.2rc2 and handling 404 errors