app.config(function ($routeProvider, $locationProvider) { $routeProvider.
when('/login', {
templateUrl: '/Login/_Login.aspx',
controller: 'LoginCtrl'
});
));
The LoginCtrl is in another JS File which is not loaded yet, So i will load that js so it work properly?