Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(function() {
var app = angular.module('Store', []);
app.controller('StoreController', function() {
this.product = tablet;
});
var tablet = {
name: 'iPad Air 2 64G',
price: 499,
description: 'The newest Apple iPad.'
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment