update angular 1.0.7
add other calucations to the template