change anchor view helper to factories