angular.module('alurapic', []);
angular.module('alurapic').controller('fotoController', function ($scope) {
$scope.foto = {
foto: 'Leão',
url: 'http://www.fundosanimais.com/Minis/leoes.jpg'
};
});
<!DOCTYPE html>
<html lang="pt-br" ng-app="alurapic">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Alurapic</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<script src="js/lib/angular.min.js"></script>
<script src="js/main.js"></script>
<script src="js/controllers/foto.controller.js"></script>
</head>
<body ng-controller="fotoController">
<div class="container">
<h1 class="text-center">Alurapic</h1>
<img class="img-responsive center-block" src="{{foto.url}}" alt="{{foto.foto}}">
</div> <!-- fim container -->
</body>
</html>