urish / angular-moment

Moment.JS directives for Angular.JS (timeago and more)
MIT License
2.6k stars 397 forks source link

1.0.0-beta.6 Dont work with angular 1.5.5 #251

Closed meron1122 closed 7 years ago

meron1122 commented 8 years ago

On page load

"Cannot find module 'angular'"

html: `

<!-- Moment js JavaScript -->
<script src="../bower_components/moment/min/moment.min.js"></script>
<script src="../bower_components/angular-moment/angular-moment.js"></script>`

bower.json: "dependencies": { "angular": "1.5.5", "moment": "^2.13.0", "angular-moment": "^1.0.0-beta.6" }

RosanaRufer commented 8 years ago

There must be some other reason why it's not working, I'm also using those versions and got no errors.

ulion commented 7 years ago

same and +1

urish commented 7 years ago

Sounds like a setup issue.

There have been some improvements to the UMD code. If the issue still happens, please open a new issue