a ionic duoshuo directive based on angular.js