This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
compatibility with opal.js #2653
Closed
Description
Hi,
While trying to load both opal and angularjs I got an error in angular.js with a really "helpful" message in the chrome console:
"Uncaught TypeError: object is not a function from ng"
Here is my minimal test page page:
<html ng-app>
<head>
<script type="text/javascript" src="js/angular.js"></script>
<script type="text/javascript" src="js/opal.js"></script>
</head>
<body>
</body>
</html>
opal alone works fine, angularjs alone works fine but with both loaded, boom !
If someone has any idea on what might be happening I am pretty lost as to what I could try.
The opal.js file can be found here: http://cdnjs.cloudflare.com/ajax/libs/opal/0.3.43/opal.js, I have tested this with angular 1.1.4.
Metadata
Metadata
Assignees
Labels
No labels