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

后端 未结 3 1669
不知归路
不知归路 2021-02-11 21:46

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

app.js

v         


        
3条回答
  •  囚心锁ツ
    2021-02-11 22:30

    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

提交回复
热议问题