Angular.js - creating a simple controller with a http request and putting the data into local storage

A simple Angular.js example of creating a controller with data form a http request and then put into the local storage.