refactor large partial with ng-includes by functional controller