3
0
Fork 0
xnode/lib-build/debug-server/www_static/js/controller/server-dash.js
2022-11-13 01:46:38 +01:00

15 lines
350 B
JavaScript

pageRouteInit.push(function ($routeProvider, $locationProvider) {
$routeProvider.when('server/dash', {
templateUrl: '/ui/thtml/server/dash',
controller: XPageServerDash
});
});
function XPageServerDash($scope, $http) {
//$http.get('/api/posts').success(function(data, status, headers, config) {
// $scope.posts = data.posts;
//});
}