I am new to Angular learning through videos. I got stuck in this routing part of my code.
index.html
<header id="top" class="header">
<div class="text-vertical-center bg-color" ng-controller="HeaderController">
<h1 class="animated fadeInLeft">SORTIFY</h1>
<h3 class="animated fadeInUp">Your Personal Music Assistant</h3>
<br>
<a href="#music" class="btn btn-dark btn-lg" >Check out Music</a>
<a href="#genre" class="btn btn-dark btn-lg">Genrify your Songs</a>
</div>
</header>
script.js
var app = angular.module('sortify', ['ui.router']);
app.config(['$httpProvider', '$stateProvider', '$urlRouterProvider',
function($httpProvider, $stateProvider, $urlRouterProvider) {
$stateProvider
.state('music', {
url: 'music',
templateUrl: 'music.html',
});
$urlRouterProvider.otherwise('/index');
}]);
This is my folder structure:
I tried many ways but am still failing, have a look!!
EDIT Here is a view of the UI

