Git Product home page Git Product logo

md-data-table's Issues

what those this fork add to the original work?

I was wondering,
what is new in this fork?
I can see a lot of work in the past month on the project, but few documentation on the difference with the original project of daniel-nagy.

Minification problem

Hi,

I've got this errors after minification process:

app.js:2 Error: [$injector:unpr] Unknown provider: eProvider <- e <- mdTableDirective
app.js:16 Error: [$compile:ctreq] Controller 'mdTable', required by directive 'mdColumn', can't be found!

my config :

// gulpfile.js
var elixir = require('laravel-elixir');

elixir(function (mix) {

    mix
        .sass('app.scss', 'public/build/css')
        .webpack('app.js', 'public/build/js');
});

// package.json
{
    "private": true,
    "scripts": {
        "prod": "gulp --production",
        "dev": "gulp watch"
    },
    "devDependencies": {
        "angular-mocks": "^1.5.7",
        "buble": "^0.12.0",
        "gulp": "^3.9.1",
        "laravel-elixir": "^6.0.0-9",
        "laravel-elixir-webpack-official": "^1.0.2"
    },
    "dependencies": {
        "angular": "^1.5.7",
        "angular-animate": "^1.5.7",
        "angular-aria": "^1.5.7",
        "angular-chartist.js": "^4.2.0-beta.0",
        "angular-material": "1.1.0-rc.5",
        "angular-material-data-table": "github:translucentcomputing/md-data-table",
        "angular-messages": "^1.5.7",
        "angular-moment": "^1.0.0-beta.6",
        "angular-resource": "^1.5.7",
        "angular-ui-router": "^1.0.0-beta.1",
        "chartist": "^0.9.8",
        "moment": "^2.14.1",
        "ng-file-upload": "^12.0.4",
        "ng-infinite-scroll": "^1.3.0"
    }
}

// src/app.js
import Angular from "angular";
import AngularMessages from "angular-messages";
import AngularMaterial from "angular-material";
import Configuration from "./app.configuration";
import UserController from "./components/user/user.controller";
import GroupController from "./components/group/group.controller";
import ServiceController from "./components/service/service.controller";
import FormationController from "./components/formation/formation.controller";
import UserService from "./components/user/user.service";
import GroupService from "./components/group/group.service";
import RoleService from "./components/role/role.service";
import FormationService from "./components/formation/formation.service";
import ServiceService from "./components/service/service.service";
import DegreeService from "./components/degree/degree.service";
import AngularTable from "angular-material-data-table";
import AngularInfiniteScroll from "ng-infinite-scroll";
import AngularFileUpload from "ng-file-upload";
import StatisticController from "./components/statistic/statistic.controller";
import AngularChartist from "angular-chartist.js";

Angular
    .module('upemupec', [
        AngularMessages,
        AngularMaterial,
        AngularChartist,
        AngularInfiniteScroll,
        AngularTable,
        AngularFileUpload
    ])
    .config(Configuration)
    .controller('StatisticController', StatisticController)
    .controller('UserController', UserController)
    .controller('GroupController', GroupController)
    .controller('ServiceController', ServiceController)
    .controller('FormationController', FormationController)
    .service('RoleService', RoleService)
    .service('DegreeService', DegreeService)
    .service('ServiceService', ServiceService)
    .service('FormationService', FormationService)
    .service('GroupService', GroupService)
    .service('UserService', UserService);

I run this command : gulp --production.
This command import files, transform ES6 to ES5 and minify (included obfuscation process).

It occur only on pages that use md-data-table directives. An idea of where it might come from?

Thanks in advance!

Regards,
Mike.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.