-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple ng-apps #63
Comments
What happens when you call |
Yup i can do that, first i did little test in plain js like so, var myApp = angular.module('myApp',[]); div ng-app="myApp" ng-controller="MyCtrl"> above works Then i tranfered it to angulate like so object TodoApp extends JSApp {
} and what happens is that on inspection of the js file in console, the todomvc2 and todoctrl2 never get "made" also no error of any sort and var module does get loaded with totdoctrl. Hope it helps, |
Just to make sure: did you try a |
did the sbt clean, didn't work. But after that, i also deleted all target maps (hard clean i guess :P) and it works both module in console. thx for the fast answers, and help. Now for the real stuff and angulate. Best Regards, |
That's strange, |
Well prehaps it as to do with the fact that i'm running a multi domain sbt file (3 domain and scalajs). i'm likely to encounter it more so will investigated deeper, and report on any answers. |
Do you mean a "multi-project" build? I'm using that as well with scala.js and it usually works quite well. Good luck! |
yes multi-project, and i guess the word "usually" is in place here :P |
First of all thx for making this great library,
For me question, i'm looking at making an app with play and angulate lib and it's running smoothly.But the app requires multiple ng-apps running, after some searching if found this anwser http://stackoverflow.com/questions/18571301/angularjs-multiple-ng-app-within-a-page
But i'm abit lost on how to implement this with angulate where the createModule doesn't work multiple times...
Hopefully you can shine a light on this question.
The text was updated successfully, but these errors were encountered: