Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to delete $rootScope variable in angularjs? [duplicate]

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?

like image 336
Nimesh Vaghasiya Avatar asked Dec 11 '13 05:12

Nimesh Vaghasiya


1 Answers

delete $rootScope.tableformate
like image 126
bevacqua Avatar answered Oct 11 '22 13:10

bevacqua