diff --git a/app/index.js b/app/index.js index 4154db1f2..69ba4ff26 100644 --- a/app/index.js +++ b/app/index.js @@ -248,6 +248,7 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({ if(this.filters.socketio) angModules.push("'btford.socket-io'"); if(this.filters.uirouter) angModules.push("'ui.router'"); if(this.filters.uibootstrap) angModules.push("'ui.bootstrap'"); + if(this.filters.auth) angModules.push("'ng.confirmField'"); this.angularModules = "\n " + angModules.join(",\n ") +"\n"; }, @@ -264,4 +265,4 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({ } }); -module.exports = AngularFullstackGenerator; +module.exports = AngularFullstackGenerator; \ No newline at end of file diff --git a/app/templates/_bower.json b/app/templates/_bower.json index 1681050a2..37f9516c0 100644 --- a/app/templates/_bower.json +++ b/app/templates/_bower.json @@ -16,10 +16,11 @@ "font-awesome": ">=4.1.0", "lodash": "~2.4.1"<% if(filters.socketio) { %>, "angular-socket-io": "~0.6.0"<% } %><% if(filters.uirouter) { %>, - "angular-ui-router": "~0.2.10"<% } %> + "angular-ui-router": "~0.2.10"<% } %><% if(filters.auth) { %>, + "angular-confirm-field": "~0.1.2"<% } %> }, "devDependencies": { "angular-mocks": ">=1.2.*", "angular-scenario": ">=1.2.*" } -} +} \ No newline at end of file diff --git a/app/templates/client/app/account(auth)/settings/settings(html).html b/app/templates/client/app/account(auth)/settings/settings(html).html index 94d0ee013..5e31519dd 100644 --- a/app/templates/client/app/account(auth)/settings/settings(html).html +++ b/app/templates/client/app/account(auth)/settings/settings(html).html @@ -9,8 +9,8 @@