Hello, 

I need to open Angular from a jQuery application. I tried a simple 2 page 
thing to but it is not working, there are no error in console. 


Structure:
<main folder>
----index.html
----index.js
----blah.js
----blah.html
----style.css

index.html:
<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8" />
    <!-- scripts -->
  </head>

  <body>
    <h1>jQuery + jQuery UI Template</h1>
    <p>Click the button; I dare you.</p>
    <p>
      <button id="clickme">Click me</button>
    </p>
    <!-- Put your html here! -->
    <div id='somediv'></div>
  </body>

</html>




Index.js:
$(function(){
  var url = './blah.html';
  $("button").button().click(function(e){
    $("#somediv").load(url).dialog({modal:true}); 
  });
});  

blah.js:
$(function(){
  var url = './blah.html';
  $("button").button().click(function(e){
    $("#somediv").load(url).dialog({modal:true}); 
  });
  

blah.html:
<!DOCTYPE html>
<html ng-app="plunker">

  <head>
    <meta charset="utf-8" />
    <title>AngularJS Plunker</title>
    <link rel="stylesheet" href="style.css" />
  </head>

  <body ng-controller="MainCtrl">
    <p>Hello {{name}}!</p>
  </body>

</html>


Please let me know if you need any more information. 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to