Fix spelling mistake "updatestate" for nvd3Legend.

Spelling mistake "updatestate" in nvd3Legend directive.