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

1

10

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?

Glossitis answered 11/12, 2013 at 5:17 Comment(0)
J
22
delete $rootScope.tableformate
Jarry answered 11/12, 2013 at 5:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.