how to delete $rootScope variable in angularjs?

Viewed 13233

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 Answers
Related