Hi Sasikumar,

$scope is a normal JavaScript object. properties on that are not new 
$scope’s. just POJO 
<https://www.google.nl/search?q=POJO&oq=POJO&aqs=chrome..69i57&sourceid=chrome&es_sm=0&ie=UTF-8>
 
properties.
So do a delete $scope.names if you want to remove a property.

Regards
Sander
​

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to