mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-18 09:15:55 +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);
|
|
|
|
|