AngularJS using an interceptor to handle $http 404s - promise not defined error

前端 未结 3 889
庸人自扰
庸人自扰 2021-02-01 20:01

I have an Angular app, for which I want to handle 404s form an API end point. The key components are like so:

// app.js

var myApp = angular.module(\'myApp\', [\         


        
3条回答
  •  不知归路
    2021-02-01 20:51

    Is just easier to pass parameter as

    Project Id passed

    and then when project id is not exist

    Project Id is not exist

提交回复
热议问题