bleykFaust bleykFaust - 28 days ago 6x
AngularJS Question

Show another Div when I clicked the button on the Previous Div

I have two in my html file. The first contains a button that when I click should show the other div and would hide the first one My code is something like this:

<div class="container" ng-hide="showme">
<button class="button" ng-click="showme=true" >Edit</button>
<div class="container" ng-show="showme">

How can I possibly do that? Thaks for any help. It is greatly appreciated.


It's easier with jquery just write