@@ -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: '/'
});
-}]);
+}]);
@@ -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>