Skip to content

Commit 973c55c

Browse files
authored
Merge pull request #2516 from stherrienaspnet/fix-match
fix(directive): angular-validation-match integration issue 2457
2 parents 431c456 + e6b24b3 commit 973c55c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: src/generators/app/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class Generator extends Base {
9696
},
9797
info: function () {
9898
this.log(this.yoWelcome);
99+
this.log('Angular Fullstack v' + this.rootGeneratorVersion() +'\n');
99100
this.log('Out of the box I create an AngularJS app with an Express server.\n');
100101
},
101102
checkForConfig: function() {

Diff for: templates/app/client/app/app.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import angular from 'angular';
44
import ngCookies from 'angular-cookies';
55
import ngResource from 'angular-resource';
66
import ngSanitize from 'angular-sanitize';
7+
import ngValidationMatch from 'angular-validation-match';
78
<%_ if(filters.socketio) { _%>
89
import 'angular-socket-io';<% } %>
910
<%_ if(filters.ngroute) { _%>
@@ -14,7 +15,7 @@ import uiRouter from 'angular-ui-router';<% } %>
1415
import uiBootstrap from 'angular-ui-bootstrap';<% } %>
1516
// import ngMessages from 'angular-messages';
1617
<%_ if(filters.auth) { _%>
17-
// import ngValidationMatch from 'angular-validation-match';<% } %>
18+
<% } %>
1819

1920

2021
import {routeConfig} from './app.config';
@@ -38,6 +39,7 @@ angular.module('<%= scriptAppName %>', [
3839
ngCookies,
3940
ngResource,
4041
ngSanitize,
42+
'validation.match',
4143
<%_ if(filters.socketio) { %>
4244
'btford.socket-io',<% } %>
4345
<%_ if(filters.ngroute) { %>

0 commit comments

Comments
 (0)