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

14 lines
344 B
JavaScript
Raw Normal View History

2022-11-13 00:46:38 +00:00
pageRouteInit.push(function ($routeProvider, $locationProvider) {
$routeProvider.when('/ui', {
templateUrl: '/ui/thtml/server/index',
controller: XPageServerIndex
});
});
function XPageServerIndex($scope, $http) {
//$http.get('/api/posts').success(function(data, status, headers, config) {
// $scope.posts = data.posts;
//});
}