Skip to content

agnel123/MomentJSAngular2

Repository files navigation

MomentJSDemoAngular2

Classic Example of MomentJS library integrate with table format in html in Angular2

How to Use:

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Every record you can see will be having same inital value as "a few seconds ago".

Wait for atleast a mintues so each record will be updated using "a minute ago" caption.

Once you click on reload button, only that record will be updated.

Conclusion:

Sampe approach can be used with Angular2 table format.

About

Basic Usage of momentJS with Angular2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published