3
0
Fork 0
xnode/lib-build/debug-server/www_static/js/controller/server-dash.js

15 lines
350 B
JavaScript
Raw Permalink Normal View History

2022-11-13 00:46:38 +00:00
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;
//});
}