Skip to content

Instantly share code, notes, and snippets.

@ashleygwilliams
Last active August 29, 2015 13:56
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 ashleygwilliams/8868524 to your computer and use it in GitHub Desktop.
Save ashleygwilliams/8868524 to your computer and use it in GitHub Desktop.
first

###ADVANCED ##Angular Activity #1: Apps, Controllers, Templates with Hardcoded Data

Follow this tutorial through step2, with full testing, then replace their example data(phones), with data of your choice. Update your variable names and template elements to reflect the changes to your data.

###BEGINNER ##Angular Activity #1: Apps, Controllers, Templates with Hardcoded Data

Follow this tutorial through step2, skipping testing, then replace their example data(phones), with data of your choice. Update your variable names and template elements to reflect the changes to your data.

###INTERMEDIATE ##Angular Activity #1: Apps, Controllers, Templates with Hardcoded Data

Create an angular application from scratch. Use Angular Seed or Space Cat to help get you "unstuck" if you forget what you need.

Create a resource set(an array of objects literals). The resource set should have at least 3 items. Each item should have at least 3 attributes. One of those attributes should be an image, or at least point to an image.

Create your controllers.js. Define your application, and write your controller.

Setup your index.html to use your app and controller. Using Angular's templating markup, create a list of your resources, displaying their attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment