angular-local-storage
angular-local-storage copied to clipboard
localStorageService.bind doesn't work with objects nested property paths
localStorageService.bind($scope, 'app.settings', $scope.app.settings, 'AppController_settings'); fails to persist changes in the settings object.
Cause: localStorageService.bind uses $scope[property] to look up the value, but property is a path. so it misses sub-key changes. Fixed by my pull-request.
+1