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/8872938 to your computer and use it in GitHub Desktop.
Save ashleygwilliams/8872938 to your computer and use it in GitHub Desktop.
AngularJS Activity 2

###ADVANCED ##Angular Activity #2: Apps, Controllers, Templates with External Data

Follow this tutorial through step 6, 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 #2: Apps, Controllers, Templates with External Data

Follow this tutorial through step 6, 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

###INTERMEDIATE ##Angular Activity #2: Apps, Controllers, Templates with External Data

Use you application from Activity #1.

Create a json file from your hard coded data. Use JSONLint if you have trouble with your data structure. There are some things you can do in JS object literals that you can't in JSON!

Use $http in your controller to load your json file.

Read step 6 and add links to your index.html.

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