<div class="main" ng-controller="MainController">
<div class="container">
<h1>{{ title }}</h1>
<h2>{{ promo }}</h2>
<div class="col-md-6">
<div class="thumbnail">
<img src="img/the-book-of-trees.jpg">
<p class="title">{{ product.name }}</p>
<p class="price">{{ product.price | currency }}</p>
<p class="date"> </p>
</div>
</div>
</div>
</div>
app.controller('MainController', ['$scope', function($scope) {
$scope.title = 'hello world';
$scope.promo = 'hi';
$scope.product = {
name: 'The Book of Trees',
price: 19
};
}]);
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.