@eldy wrote:
I use this repo https://github.com/urish/angular-moment. I install momentjs by running
npm install angular-moment moment --save
. I can see in node_modules folder angular moment and moment are there.I then follow the instruction include the js file like this
<script src="components/moment/moment.js"></script> <script src="components/angular-moment/angular-moment.js"></script>
I also tried
<script src="lib/moment/moment.js"></script>
Posts: 3
Participants: 3