Add angular module facotry snippet.