Created
October 9, 2012 20:47
-
-
Save btford/3861304 to your computer and use it in GitHub Desktop.
snippet for header for angular+yeoman shopping demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[[ | |
{ | |
id: 1, | |
name: 'Batarang', | |
img: 'http://25.media.tumblr.com/tumblr_l7s7b3PTAt1qzpwi0o1_500.jpg', | |
price: 80 | |
}, | |
{ | |
id: 2, | |
name: 'Utility Belt', | |
img: 'http://www.felthosfoundry.com/wordpress/wp-content/uploads/utilitybelt.jpg', | |
price: 120 | |
}, | |
{ | |
id: 3, | |
name: 'Cape', | |
img: 'http://superflykids.com/images/poplet-solid-color-superhero-cape-02_0.jpg', | |
price: 47 | |
}, | |
{ | |
id: 4, | |
name: 'Batmobile', | |
img: 'http://cache.jalopnik.com/assets/images/12/2007/09/batmobile_Tumbler.jpg', | |
price: 1000000 | |
} | |
]]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>shoppingcat</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> | |
</snippet> |
Congrats on handling so many bugs while presenting on stage!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks Brian. Great Angular-yeoman tutorial! http://www.youtube.com/watch?v=XOmwZopzcTA