<!DOCTYPE html>
<html ng-app="meuApp">
<head>
	<title></title>
	<meta charset="utf-8">

	<script 
	src="../bower_components/angular/angular.min.js" 
	type="text/javascript"></script>	
</head>
<body ng-controller="MeuController">
<h1>Exemplo de AngularJS com Controller interno</h1>

<div>
	Variável do controller contém: {{valor}}
</div>

<div>
	E seu dobro é: {{valor * 2}}
</div>

<script>
	angular.module('meuApp', [])
	.controller('MeuController', ['$scope', function($scope) {
		$scope.valor = 35;			
	}]);
</script>
</body>
</html>