Fixed registerControllerDecorator for Angular v1.3.

Added a simple demo