Browse Source

artist list

David 11 years atrás
parent
commit
58f8aa623c
2 changed files with 7 additions and 2 deletions
  1. 5 1
      frontend/app.js
  2. 2 1
      frontend/index.html

+ 5 - 1
frontend/app.js

@@ -7,7 +7,11 @@ app.config(['$routeProvider', '$locationProvider', function ($routeProvider, $lo
 		templateUrl: 'modules/main/main.html',
 		controller: 'mainCtrl'
 	})
+	.when('/artists', {
+		templateUrl: 'modules/artists/artists.html',
+		controller: 'artistListCtrl'
+	})
 	.otherwise({
 		redirectTo: '/'
 	});
-}]);
+}]);

+ 2 - 1
frontend/index.html

@@ -19,6 +19,7 @@
 
 		<!--Controllers-->
 		<script type="text/javascript" src="/modules/main/mainCtrl.js"></script>
+		<script type="text/javascript" src="/modules/artists/artistListCtrl.js"></script>
 	</head>
 
 	<body>
@@ -77,4 +78,4 @@
 			<div ng-view=""></div>
 		</div>
 	</body>
-</html>
+</html>