Questions tagged [ng-admin]

An AngularJS admin GUI for any RESTful API

An AngularJS admin GUI for any RESTful API: https://github.com/marmelab/ng-admin

110 questions
0
votes
1 answer

How to create a custom entity in ng-admin

I have an admin dashboard powered by ng-admin.From the documentation, I understand that each entity corresponds to an endpoint in the baseApiUrl. Here is my question : Working example : baseApiUrl : http://my-host.com/v0 entity : var user =…
chaitra.kear
  • 67
  • 3
  • 10
0
votes
1 answer

ng-admin doesn't initialize in another ui-view

I have faced a problem that ng-admin is not rendering inside simple ui-view. Here is the code: $stateProvider .state('home', { url: '/', template: homeTemplate }) .state('login', { url: "/login", template:…
0
votes
2 answers

ng-admin won't display dropdown stored values

I really hope somebody can help me with an issue using ng-admin. I created a dashboard with ng-admin and all works fine. There is only one issue, on models where I used boolean field with chooices. Of course there is displayed a dropdown field, but…
km65
  • 21
  • 9
0
votes
3 answers

Angular js - Call function inside controller from view in ng-admin

I am working with the feature of multiple languages for ng-admin. In the file header.html, I have added a dropdown with a list of languages. Clicking each option fires a function call. The function itself is inside a controller in…
Lazarus Rising
  • 2,597
  • 7
  • 33
  • 58
0
votes
1 answer

Ui-Router otherwise rule with ng-admin

I have got a problem in an angular app, where I have integrated ng-admin to provide a simple admin panel. I have also integrated Authentication and want to point to a login state, when there is no current session. Ng-admin itself sets ui-router's…
René Jahn
  • 1,155
  • 1
  • 10
  • 27
0
votes
1 answer

How to create a multiple string field in editionView() and creationView()?

How can I create a multiple string field in editionView() and creationView()? The object looks like following: { id: 123, name: 'foo', redirects:[ "/foo", "/foo-1", "/foo-2", ] } I need to make a form there you can write your…
mrded
  • 4,674
  • 2
  • 34
  • 36
0
votes
1 answer

Integrating ng-admin 2 into JHipser

I've been trying to use ng-admin 2 instead of standard admin panel in generated JHipster app but couldn't make it work. Has anyone ever swapped out the standard JHipster admin panel for something else for example ng-admin?
doublemc
  • 3,021
  • 5
  • 34
  • 61
0
votes
0 answers

Post the full related object in ng-admin

There's a way to post the full related object? For example, I need a full post object when a post a comment, not just the post id: Instead of: { comment_id: 1, text: "my comment", post: 1 } I need: { comment_id: 1, text: "my…
Paulo Brito
  • 453
  • 1
  • 5
  • 15
0
votes
4 answers

ng2-admin aot build unable to fetch images, fonts from assets

I am using ng2-admin template following their installation guide https://akveo.github.io/ng2-admin/articles/002-installation-guidelines/ it is running perfectly in local but when I am creating production build using "npm run build:prod:aot" and…
Suman
  • 373
  • 4
  • 9
0
votes
1 answer

POST to a nested resource using ng-admin

The documentation shows an example on how to fetch entities on a nested resource (http://[baseApiUrl]/posts/123/comments) by using an interceptor on the $http Angular service. I'd like to know how to create entities on nested resources. Is this…
Baleato
  • 849
  • 9
  • 19
0
votes
1 answer

Create Nested Views in ng-admin

Hope I can explain this clearly. First, I'm using ng-admin and I know how to create a custom view per this: I'm trying to figure out how to create nested views within the same custom page. Specifically, I have a view that needs to have 3 columns on…
friendlyfire
  • 87
  • 1
  • 12
0
votes
1 answer

angularjs ng-admin 0.9 shows nothing

i am trying to use ng-admin for the firs time. i am just following the example in and i am unable to see anything in the browser. my code is minimal, so not sure what i am doing wrong. any ideas? did i not install correctly? i just downloaded it…
0
votes
1 answer

ng-admin: Showing reference fields in a referenced_list

Using ng-admin, I have a referenced_list defined as follows against my companies entity to display all the events registered for a company: nga.field('companyevents', 'referenced_list') // display list of related profiles .label('Company…
vipes
  • 922
  • 1
  • 9
  • 17
0
votes
1 answer

angular 2 component that overrides all template

I have the module below that is adding a ng2-smart-table component inside my html page like that:
Nicolas D
  • 1,182
  • 18
  • 40
0
votes
1 answer

ng-admin identifier not highlighted and entityId not set

I am using ng-admin to build admin panel. However, I ran into a problem while using it. I installed ng-admin using bower. What happens is that I have custom identifier. ListView is populating as I want it to. But my identifier is not highlighted as…
Akshit
  • 140
  • 3
  • 13