Example of AngularJS & D3 & LocalStorage