I am trying to create a toggle button in Angular. What I have so far is:
It might help you:
Toggle Hello World!
Hello World!
function MyCtrl($scope) { $scope.visible = true; $scope.toggle = function() { $scope.visible = !$scope.visible; }; }