We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f49edc commit 8ac5547Copy full SHA for 8ac5547
templates/app/client/app/account(auth)/index.js
@@ -6,14 +6,15 @@ import routing from './account.routes';
6
import login from './login';
7
import settings from './settings';
8
import signup from './signup';
9
-import oauthButtons from '../../components/oauth-buttons';
+<%_ if(filters.oauth) { _%>
10
+import oauthButtons from '../../components/oauth-buttons';<% } %>
11
12
export default angular.module('<%= scriptAppName %>.account', [
13
uiRouter,
14
login,
15
settings,
- signup,
16
- oauthButtons
+ signup<% if(filters.oauth) { %>,
17
+ oauthButtons<% } %>
18
])
19
.config(routing)
20
<%_ if (filters.ngroute) { _%>
0 commit comments