improved template by using ng-if in places that make sense.
fixed measure tool.