function miControlador($scope) { $scope.saludo = { texto: 'Hola' }; }
<body ng-app=""> <div ng-controller="miControlador"> <input type="text" ng-model="saludo.texto"/> <button ng-click="saludo.texto='Hola'">Reset</button> <h1>{{saludo.texto}}, Mundo</h1> </div> </body>