marmelab / ng-admin

Add an AngularJS admin GUI to any RESTful API
http://ng-admin-book.marmelab.com/
MIT License
3.95k stars 725 forks source link

Add custom page can not be achieved #1325

Closed pq771271668 closed 7 years ago

pq771271668 commented 7 years ago

Hello According to the official website of https://ng-admin-book.marmelab.com/doc/Custom-pages.html, I can not add a custom page This is my code Here is a menu bar

.addChild(nga.menu().template('column2'))

Route here MyApp.config (function ($stateProvider, $urlRouterProvider) { $stateProvider.state ('table', {) Parent:'ng-admin', Url:'/table', Params: {id: null}, Controller: sendPostController, ControllerAs:'controller', TemplateUrl:'static/table.html' }); }); Function sendPostController ($stateParams, notification) { }; Excuse me, do you have any mistakes? How to solve the routing? How do I feel good ui-router not the same? Thanks

Kmaschta commented 7 years ago

Hello,

As explained in the README, the GitHub issue tracker is for bugs and enhancement requests. So I close this issue, but feel free to write a question on StackOverflow with the tag ng-admin.

Thanks for using ng-admin!