Hi brian,
do it like this:
<div style='border-style: solid; width: 150px' ng-mouseenter='minimized
= false' >
<div ng-show='minimized'>
Minimized
</div>
<div ng-hide='minimized' >
<select ng-mouseleave='minimized = true'>
<option>bla1</option>
<option>bla2</option>
<option>bla3</option>
</select>
</div>
</div>
You have to switch to ng-hide/show to make this work. ngIf creates a new
scope, and your use of scope variables does not work then.
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.