I'm trying to add two angular apps / modules to one page. In the fiddles below you can see that always only the first module, referenced in the html code, will work correctly, whereas the second is not recognized by angular.
In this fiddle we can only execute the doSearch2
method, whereas in this fiddle only the doSearch
method works correctly.
I'm looking for the way how to correctly place two angular modules into one page.