How to open new tab in browser by using $location, angular?

后端 未结 4 2024
太阳男子
太阳男子 2021-02-11 21:56

I have controller \'reportCtrl\' and HTML that represents 6 tables with data and only several rows I show at once.

app.js

v         


        
4条回答
  •  误落风尘
    2021-02-11 22:40

    You are opening a new window using another function which could get Angular confused.

    Try passing the string in the $window.open(real_path) where real_path is a string containing the path you want to navigate

提交回复
热议问题