update www for angularjs
add logic for html update