应用程序路由 - 不重定向到 html 页面

app route - not redirecting to html page

这是来自 MEAN stack 网站的示例, 我要求浏览器指向名为“findCable.html”的 html 文件 相反,它一直将其路由到 'singleCable.html' 代码片段来自 angular 路由文件,我还检查了后端路由,任何想法出了什么问题?

也请看附件_TIA

   .when('/cable/search', {
        templateUrl: 'app/views/pages/cables/findCable.html',
        controller: 'cableController',
        controllerAs: 'cable'
    })

Screenshot of website code

这是简单的路由错误。 只需将您的 cable/search 路线保持在 cable/:cable_id 路线之上,该路线将覆盖您的 search 关键字作为 cable_id