bleykFaust bleykFaust - 4 months ago 17
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