Edit in JSFiddle

<div ng-app="toggleApp" ng-controller="toggleController">
<input type="button" value="Toggle Div" ng-click="ShowHide()" />
<br>
<br>
<div ng-hide="IsHidden">My DIV</div>
</div> 
    var app = angular.module('toggleApp', [])
    app.controller('toggleController', function ($scope) {
    //hide the DIV by default.
    $scope.IsHidden = true;
    $scope.ShowHide = function () {
    //If DIV is hidden it will be visible and vice versa.
    $scope.IsHidden = $scope.IsHidden ? false : true;
     }
    });