Skip to content

Instantly share code, notes, and snippets.

@gabrielfeitosa
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielfeitosa/d047f40c6008c2b4db6b to your computer and use it in GitHub Desktop.
Save gabrielfeitosa/d047f40c6008c2b4db6b to your computer and use it in GitHub Desktop.
Exemplo inicial AngularJS
<!DOCTYPE html>
<html ng-app>
<head>
<meta charset="utf-8">
</head>
<body>
<input type="text" ng-model="nome" placeholder="Diz teu nome aí">
<h1>Eita {{nome}}, olha o two-way data binding funcionando!</h1>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment