Reduce html use angularjs