sidebar to directive, instead of controller
Merge pull request #45 from lizlongnc/dev_liz

sidebar to directive, instead of controller