Fixed code example in documentation to access attributes property of a component.
Fixed code example in documentation to access attributes property of a component.

margaritis/flight,rkJun/flight,flightjs/flight,icecreamliker/flight,david84/flight,giuseppeg/flight,robertknight/flight,robertknight/flight,icecreamliker/flight,KyawNaingTun/flight,Shinchy/flight,Shinchy/flight,KyawNaingTun/flight,flightjs/flight,joelbyler/flight,joelbyler/flight,david84/flight