added teardown of closed ng-apps