How to use angular2-moment - 10 common examples

To help you get started, we’ve selected a few angular2-moment examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github forCrowd / WealthFramework / ng2Client / app / app.module.js View on Github external
var logger_service_1 = require("./services/logger.service");
var resource_pool_service_1 = require("./services/resource-pool-service");
var AppModule = (function () {
    function AppModule() {
    }
    return AppModule;
}());
AppModule = __decorate([
    core_1.NgModule({
        imports: [
            // Angular & External
            platform_browser_1.BrowserModule,
            forms_1.FormsModule,
            http_1.HttpModule,
            breeze_bridge_angular2_1.BreezeBridgeAngular2Module,
            angular2_moment_1.MomentModule,
            angular2_toaster_1.ToasterModule,
            // Modules
            app_routing_module_1.AppRoutingModule,
            custom_error_handler_module_1.CustomErrorHandlerModule,
            custom_http_module_1.CustomHttpModule,
            ng_chart_module_1.NgChartModule
        ],
        declarations: [
            // App
            app_component_1.AppComponent,
            // Components - Account
            account_edit_component_1.AccountEditComponent,
            account_overview_component_1.AccountOverviewComponent,
            add_password_component_1.AddPasswordComponent,
            change_email_component_1.ChangeEmailComponent,
            change_password_component_1.ChangePasswordComponent,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / services / nf-registry.service.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes,
                ngCommonHttpTesting.HttpClientTestingModule
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
                NfRegistryGridListViewer,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / workflow / nf-registry-workflow-administration.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes,
                ngCommonHttpTesting.HttpClientTestingModule
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
                NfRegistryCreateBucket,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / nf-registry-users-adminstration.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes,
                ngCommonHttpTesting.HttpClientTestingModule
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
                NfRegistryCreateBucket,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / nf-registry.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngHttp.HttpModule,
                ngHttp.JsonpModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / nf-registry-administration.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
                NfRegistryGridListViewer,
                NfRegistryBucketGridListViewer,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / nf-registry.module.js View on Github external
var ngCommonHttp = require('@angular/common/http');
var NfRegistryTokenInterceptor = require('nifi-registry/services/nf-registry.token.interceptor.js');
var nfRegistryAuthGuardService = require('nifi-registry/services/nf-registry.auth-guard.service.js');
var NfStorage = require('nifi-registry/services/nf-storage.service.js');

function NfRegistryModule() {
};

NfRegistryModule.prototype = {
    constructor: NfRegistryModule
};

NfRegistryModule.annotations = [
    new ngCore.NgModule({
        imports: [
            ngMoment.MomentModule,
            fdsCore,
            ngCommonHttp.HttpClientModule,
            NfRegistryRoutes
        ],
        declarations: [
            NfRegistry,
            NfRegistryExplorer,
            NfRegistryAdministration,
            NfRegistryUsersAdministration,
            NfRegistryManageUser,
            NfRegistryManageGroup,
            NfRegistryManageBucket,
            NfRegistryWorkflowAdministration,
            NfRegistryAddUser,
            NfRegistryCreateBucket,
            NfRegistryCreateNewGroup,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / explorer / grid-list / registry / nf-registry-bucket-grid-list-viewer.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
                NfRegistryGridListViewer,
                NfRegistryBucketGridListViewer,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / explorer / grid-list / registry / nf-registry-droplet-grid-list-viewer.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryAddUser,
                NfRegistryWorkflowAdministration,
                NfRegistryGridListViewer,
                NfRegistryBucketGridListViewer,
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / workflow / sidenav / manage-bucket / nf-registry-manage-bucket.spec.js View on Github external
beforeEach(function () {
        ngCoreTesting.TestBed.configureTestingModule({
            imports: [
                ngMoment.MomentModule,
                ngCommonHttp.HttpClientModule,
                fdsCore,
                NfRegistryRoutes
            ],
            declarations: [
                NfRegistry,
                NfRegistryExplorer,
                NfRegistryAdministration,
                NfRegistryUsersAdministration,
                NfRegistryManageUser,
                NfRegistryManageGroup,
                NfRegistryManageBucket,
                NfRegistryWorkflowAdministration,
                NfRegistryAddUser,
                NfRegistryCreateBucket,
                NfRegistryCreateNewGroup,

angular2-moment

Moment.JS pipes for Angular2 (timeago and more)

MIT
Latest version published 7 years ago

Package Health Score

53 / 100
Full package analysis

Popular angular2-moment functions