Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Created December 4, 2015 17:09
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 codeaholicguy/eea834029db7071052fb to your computer and use it in GitHub Desktop.
Save codeaholicguy/eea834029db7071052fb to your computer and use it in GitHub Desktop.
(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