text: var app = angular.module("myApp", []);
  
  app.controller('myCtrl', function ($scope) {
      $scope.show = 'msg1';
      $scope.toggle = function() {
          $scope.show = $scope.show == 'msg1' ? 'msg2' : 'msg1'
      };
  });
  