templates for angularjs
update hash