$routeProvider vs $stateProvider in AngularJS
AngularJS is a young framework, and some time ago there was only $routeProvider solution for a routing.
What $routeProvider is doing, is linking specific URL to a controller and assigning a template.
Bellow, is the basic implementation:
$routeProvider
.when('/contact/', {
templateUrl: 'app/views/core/contact/contact.html',
controller: 'ContactCtrl'
})
});
Ivan Proskuryakov