how to delete $rootScope variable in angularjs?

13.3k views Asked by At

In a controller, I had defined $rootScope.tableformate variable to fill data in a popup.

After filling popup data $rootScope.tableformate is not used. How to delete this variable?

1

There are 1 answers

0
bevacqua On BEST ANSWER
delete $rootScope.tableformate