Updating dependencies.
Replacing attributes by $attributes in controllers.
Replacing onXXXChange by $onXXXChange.
Replacing event by $event.