Skip to content

Commit 675e976

Browse files
Fixed angular-validation-match integration
1 parent 4466013 commit 675e976

File tree

1 file changed

+3
-1
lines changed
  • templates/app/client/app

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ 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';
8+
79
<%_ if(filters.socketio) { _%>
810
import 'angular-socket-io';<% } %>
911
<%_ if(filters.ngroute) { _%>
@@ -14,7 +16,6 @@ import uiRouter from 'angular-ui-router';<% } %>
1416
import uiBootstrap from 'angular-ui-bootstrap';<% } %>
1517
// import ngMessages from 'angular-messages';
1618
<%_ if(filters.auth) { _%>
17-
// import ngValidationMatch from 'angular-validation-match';<% } %>
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)