angular.filter's groupBy filter : Unknown provider: groupByFilterProvider <-…
- User
angular.filter's groupBy filter : Unknown provider: groupByFilterProvider <- groupByFilter error
sono dentro un html che utilizza groupby e si rompe. In teoria se dovessi aggiungere il modulo di angular, questo dovrebbe andare:
Sono all'interno di un plugin che si incastra in un programma più grande: questo è il punto di entrata: angular.module('arxivar.plugins').factory('RocheNSO', ['PluginRoute', function (PluginRoute) { // MANDATORY settings in order for the plugin to work. var requiredSettings = { id: 'e29de9e8-52c6-43c4-9fb2-d92200cc5d36', // Unique plugin identifier (type: string) name: 'RocheNSO', // Plugin name. Spaces and dots not allowed (type: string) icon: 'far fa-chart-pie', label: 'Roche NSO', // User Interface label (type: string) description: '', // Plugin description (type: string) author: 'AbleTech srl', // Plugin author (type: string) minVersion: '0.0.1' // Minimun portal version this plugin supports. (type: string, format example: 0.0.1) };
// OPTIONAL settings. These objects require the following properties: name, description, defaultValue and type.// Allowed types are: string, number, boolean or date (Date type is a string UTC ISO 8601 (https://it.wikipedia.org/wiki/ISO_8601) format var customSettings = [ { name: 'wsUrl', description: 'Indirizzo webservices NSO', defaultValue: 'http://roche.bologna.company/RocheWS/api/', type: 'string' }, { name: 'wsUser', description: 'User webservices NSO', defaultValue: 'Admin', type: 'string' }, { name: 'WsPassword', description: 'Password webservices NSO', defaultValue: '123', type: 'string' } //{name: '', description: '', defaultValue:'', type: 'string'}, ];
// OPTIONAL settings for specific users. These objects require the following properties: name, description, defaultValue and type.// Allowed types are: string, number, boolean or date (Date type is a string UTC ISO 8601 (https://it.wikipedia.org/wiki/ISO_8601) format var userSettings = [ //{name: '', description: '', defaultValue:'', type: 'string'}, ];
var myPlugin = new PluginRoute(requiredSettings, customSettings, userSettings); return { plugin: myPlugin };}]);
questa la dichiarazione della directive: angular.module('arxivar.plugins.controller').controller('RocheNSOCtrl', ['http','uibModal','uiGridConstants','params','arxivarDocumentsService', function (http, uibModal,uiGridConstants,params,arxivarDocumentsService) {
- Assistant
- User
- Assistant
- User
- Assistant