Right, and you're not even declaring those variables so there are errors in
the console. Looks like there's also a bit of confusion between the
sections and phoneoptions properties. Fixed version:

http://jsfiddle.net/9z966/1/

Kevin


On Thu, Feb 13, 2014 at 9:39 AM, Mark Volkmann <[email protected]>wrote:

> It looks like the booleans you are setting to indicate whether something
> should be shown are just local variables, not properties on $scope. If
> that's the case then the ng-show directives can't see them.
>
>
> On Thu, Feb 13, 2014 at 8:21 AM, Dean Anderson 
> <[email protected]>wrote:
>
>> I'm trying to figure out why ng-show will not work in these situations.
>> When I click on the "ng-show/ng-hide Sections" button, it I'd like it to
>> show/hide the all of the "Section" buttons.
>> Similarly, when I click on the "ng-show/ng-hide Phone Options" button, it
>> I'd like it to show/hide the all of the "Phone" buttons.
>>
>> I've added this fiddle to show what I'm trying to do.
>>
>> http://jsfiddle.net/jaM5q/9/
>>
>> Any help is appreciated.
>>
>> Thank you.
>>
>> -Dean
>>
>> --
>> 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/groups/opt_out.
>>
>
>
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to