Updated demo

Added CSS transition for ui-view, and updated the directives.