Created
April 2, 2015 23:57
-
-
Save wouerner/841d7c57fb6e19b558ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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 lang="en" ng-app="cursoAngular"> | |
<head> | |
<meta charset="utf-8"/> | |
<script src="js/angular.min.js"> | |
</script> | |
<script src="js/app.js"> | |
</script> | |
<script src="js/controllers.js"></script> | |
<script src="js/services.js"></script> | |
<script src="js/factories.js"></script> | |
<script src="js/diretivas.js"></script> | |
<style> | |
.fonteGrande { | |
font-size: 42px; color: #F00; | |
} | |
</style> | |
</head> | |
<body> | |
Olá Mundo. Bem vindo, {{inputTexto}} | |
<br /> | |
<div ng-controller="curso1Controller"> | |
<aula-loop></aula-loop> | |
<input type="text" ng-model="aula" /> | |
<br /><br /> | |
Texto Antes Dele <input type="text" ng-show="mostraInput" /> | |
<br /><br /> | |
Texto Antes Dele <input type="text" ng-model="filtro.nome" /> | |
<br /><br /> | |
{{aula}} | |
<br /><br /> | |
<input type="button" value="Alerta!" /> | |
<div> | |
<h3 ng-class="{'fonteGrande':mostraInput}">Título</h3> | |
</div> | |
<input type="button" value="setFiltro1" ng-click="setFiltro()"> | |
<input type="button" value="getFiltro1" ng-click="getFiltro()"> | |
</div> | |
<div ng-controller="aula3Controller"> | |
<input type="text" ng-model="filtro.nome" > | |
<input type="button" value="setFiltro2" ng-click="setFiltro()"> | |
<input type="button" value="getFiltro2" ng-click="getFiltro()"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment