fix the format of angularjs template