convert html template to angular.js and initial virtual data for conversion