Hi Hassan,
It helps if you use the class you created, in stead of something that
doesn't exists.
try this:
<div data-ng-controller="ChatController">
<div style="background-color: azure; border: 1px solid #267cb2;"
data-ng-repeat="xyz in Model">
<div style="border: 1px solid black;" data-ng-if="!xyz.Hidden">
{{$index}}
<span style="text-align: left;">
<a data-ng-click="xyz.hide()" class="close">×</a>
</span>
</div>
</div>
<pre>{{Model|json}}</pre>
</div>
it will work as expected.
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.