Use the angular.fromJson function instead of JSON.parse.