mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 16:25:54 +01:00
11 lines
283 B
JavaScript
11 lines
283 B
JavaScript
'use strict';
|
|
|
|
|
|
var myAppConfig = function($routeProvider) {
|
|
$routeProvider.when('/home', {templateUrl: 'partials/home.html', controller: 'HomeCtrl'})
|
|
.otherwise({redirectTo: '/home'});
|
|
};
|
|
var app = angular.module('myApp',['ngResource']).config(myAppConfig);
|
|
|
|
|