theme implementation

- optimize the hint info when prompting
- theme implementation
- fix bug: cant access $rootScope within directive
- optimize the footer of the template file