app.config(function($routeProvider,$locationProvider) {

    $routeProvider
        .when("/", {
            redirectTo : "/dashboard"
        })
        .when("/dashboard", {
            templateUrl : "welcome/dashboard"
        })
        .when("/registration", {
            templateUrl : "welcome/registration"
        })
        .otherwise({
            redirectTo : "/dashboard"
        });

        $locationProvider.hashPrefix('');

});
