Moved ajax requests to each route resolve.  Moved localstorage to  inter...

...ceptors

Route Resolve:  now the route won't resolve until the http request has finished/resolved.  This will prevent the code in the controller from executing to early and the page rendering before it has data available.  

localStorage to httpProvider.interceptors:
The interceptors provide a function which will fire during every http request/response.  I thought it'd be better to add the getters/setters of local storage to a more global place.  This interceptor I created will only work if a timeout is set on the $http request. The data will be get/set on the url which was requested.