This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
app.controller('PuzlesCtrl',function($scope,$http,pw){ | |
$scope.busca = function(){ | |
pw.busca('template=puzles, title|body~='+$scope.termino).then(function(data){ | |
console.log("ENCONTRADOS",data); | |
$scope.encontrados = data; | |
}); | |
} | |
$scope.buscaPuzles= function(puzles){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
app.controller('PuzlesCtrl',function($scope,$http,pw){ | |
$scope.busca = function(){ | |
pw.busca('template=puzles, title|body~='+$scope.termino).then(function(data){ | |
console.log("ENCONTRADOS",data); | |
$scope.encontrados = data; | |
}); | |
} | |
$scope.buscaTodos= function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* @ngdoc overview | |
* @name zapatonesApp | |
* @description | |
* # zapatonesApp | |
* | |
* Main module of the application. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* @ngdoc function | |
* @name zapatonesApp.controller:MainCtrl | |
* @description | |
* # MainCtrl | |
* Controller of the zapatonesApp | |
*/ | |
angular.module('zapatonesApp') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3>{{minombre}}</h3> | |
<br> | |
<br> | |
<button type="button" class="btn btn-primary" ng-click="dihola()">Pincha aquí </button> | |
<br> | |
<br> | |
<input type="text" ng-model="texto"> | |
<br><br> | |
<p>Has escrito: {{texto}}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* @ngdoc function | |
* @name zapatonesApp.controller:AboutCtrl | |
* @description | |
* # AboutCtrl | |
* Controller of the zapatonesApp | |
*/ | |
angular.module('zapatonesApp') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<strong>Ciudad:</strong> <br> | |
<input type="text" ng-model="ciudad"> | |
<div class="form-group"> | |
<label for="sel1">Pais:</label> | |
<select ng-model="zona" class="form-control"> | |
<option>es</option> | |
<option>fr</option> | |
<option>uk</option> | |
<option>de</option> | |
<option>us</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* @ngdoc function | |
* @name zapatonesApp.controller:ContactoCtrl | |
* @description | |
* # ContactoCtrl | |
* Controller of the zapatonesApp | |
*/ | |
angular.module('zapatonesApp') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form class="form-horizontal" role="form"> | |
<div class="form-group"> | |
<label class="control-label col-sm-2" ng-model="nombre" for="pwd">Nombre:</label> | |
<div class="col-sm-10"> | |
<input type="name" class="form-control" id="pwd" placeholder="Pon tu nombre"> | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="control-label col-sm-2" ng-model="email" for="email">Email:</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html class="no-js"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width"> | |
<!-- Place favicon.ico and apple-touch-icon.png in the root directory --> | |
<!-- build:css(.) styles/vendor.css --> | |
<!-- bower:css --> |
NewerOlder