Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 582 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 582 Bytes

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.