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
1
vote
2 answers

how to get ng-admin filters working with loopback API

I am new to ng-admin and angularjs. I am trying to integrate ng-admin with loopback for admin panel. I am unable to get ng-filters filters working with loopback because of this i think the reference_list and other filter are not working…
1
vote
0 answers

NgAdmin list all laravel

I am using NgAdmin with Laravel to create a restAPI with an Admin structure using Angular. Everything was okay with all the methods in the Controllers but then I needed to get all items in some specif table (with the results not paginated); public…
Hugo S. Mendes
  • 1,076
  • 11
  • 23
1
vote
1 answer

Modify form field value when updating a different field in a ng-admin form

I need to update a 'datetime' field value in the EDIT view of an entity whenever I enabled a different checkbox field (put it to true). NGA fields nga.field('launchDate', 'datetime') .label('Launch date') nga.field('active', 'boolean') …
1
vote
1 answer

UI Bootstrap date picker is not working in ng-admin custom page

I am new to angularjs and also for ng-admin.I am using ng-admin for my project. In that I make custom page in that I have to use UI bootstrap date picker.But popup is not coming. Below is my code. here is my custom page code.
1
vote
0 answers

Have an "active" filter when loading listView

I have a huge database that takes ages to load when loading it through listView(). Is it possible to activate and apply a filter with a default value (now() on a field having a date, to get only today's records) before loading the data? There is a…
Luc Stepniewski
  • 318
  • 2
  • 8
1
vote
1 answer

ng-admin filters change key

I want to change the search fields on the filter (list view). This is the code : filters([ nga.field('project', 'reference') .label('Project') .targetEntity(project) …
user40101121
  • 167
  • 2
  • 9
1
vote
2 answers

How to add a ng-admin table to a sub element of a page?

I want to add ng-admin tables to some dom element, such as a div in tabs, or a modal window, is there any way to change the ng-admin table to bind to other ui-view?
1
vote
1 answer

Any filter that implements a date range search?

Is there a way to have a date range search in the interface, that would generate a request to the REST server asking for elements that are between two dates?
Luc Stepniewski
  • 318
  • 2
  • 8
1
vote
2 answers

Why does one HTTP GET request retrieve the required data and another retrieve []

I'm currently working on ng-admin. I'm having a problem retrieving user data from my REST API (connected to a MongoDB) and displaying it. I have identified the problem as the following: When I enter http://localhost:3000/users into my browser, I get…
Django
  • 343
  • 1
  • 4
  • 23
1
vote
1 answer

Customising the API mapping for ng-admin, need a function to change "id" to "_id"

Currently I am using ng-admin to build an admin panel for my webapp. http://ng-admin-book.marmelab.com/doc/API-mapping.html This link talks about API mapping and the JSON response expected when ng-admin uses a GET request to get data. The JSON…
Django
  • 343
  • 1
  • 4
  • 23
1
vote
1 answer

Initialize ng-admin module in a callback function

I'm trying to configure an ng-admin app. I'd like to load some data from a file before starting the configuration, however when I try to do this in a callback I get the following error: Uncaught Error: [$injector:modulerr] Failed to instantiate…
pixelmike
  • 1,973
  • 1
  • 19
  • 31
1
vote
1 answer

A slash at the end of routes in ng-admin

Is it possible to add a slash at the end of all routes in ng-admin. For example, http://localhost/api/v1/users/ instead of http://localhost/api/v1/users I use the getting started ng-admin application
Ildar
  • 3,808
  • 7
  • 45
  • 81
1
vote
1 answer

Add custom type to Ng-admin

I want add custom types to Ng-admin. I didn't find complete info or sample to do it. As a sample, I want add next types: embedded object, embedded_list type, parted combo box and others. My confuse is what syntax and structure of TypeField and…
0
votes
0 answers

Add a link at the top in ng-admin creation view?

I am new to ng-admin and also angular(backend-developer).I need to add a link at the top in creation view of all the entities, which on click will download a template for me(via api call).This template is used in creation views to upload a file.
0
votes
2 answers

Combine ng-admin and ui-router

I have AngularJS(1.4.9) project that is build with usage of ui-router and have few states like this: .state('overview', { url: '/overview', parent: 'dashboard', templateUrl: 'views/dashboard/overview.html' }) .state('settings', { url:…
ephemerr
  • 1,833
  • 19
  • 22