'use strict';

// Declare app level module which depends on views, and components
angular.module('myApp', [
  'ngRoute',
  'ngMaterial', 'nlpCompromise', 'ngFileUpload',
  'myApp.factories',
  'myApp.view1',
  'myApp.view2', 'md.data.table',
  'myApp.version'
]).
config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/view1', {
    templateUrl: 'view1/view1.html',
    controller: 'View1Ctrl'
  });

  $routeProvider.when('/view2', {
    templateUrl: 'view2/view2.html',
    controller: 'View2Ctrl'
  });
  $routeProvider.otherwise({redirectTo: '/view1'});
}]);

@@ -162,16 +162,33 @@
 Upload',
+ 'md.data.table',
 %0A  'myAp
@@ -210,21 +210,22 @@
  'myApp.
-view1
+models
 ',%0A  'my
@@ -236,26 +236,26 @@
 view
-2
+1
 ',
+%0A 
  'm
-d.data.table
+yApp.view2
 ',%0A 

Add 'myApp.models' to dependency list