hi all
i am new to angular js
*the module and controller is not connected to html.*
can you help me fixing this problem.
i am providing the link to the file.
i installed all the bower components 
thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
<!DOCTYPE html>

<html lang="en" ng-app="one">

<head>
   
  <meta charset="utf-8">
   
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
<meta name="viewport" content="width=device-width, initial-scale=1">
    
  
  <title>angular tutorial</title>

    
<link href="../bower_components/bootstrap/dist/css/bootstrap.min.css" 
rel="stylesheet">
 
   <link href="../bower_components/bootstrap/dist/css/bootstrap-theme.min.css" 
rel="stylesheet">
  
  <link href="../bower_components/font-awesome/css/font-awesome.min.css" 
rel="stylesheet">
 
   <link href="styles/bootstrap-social.css" rel="stylesheet">
    
<link href="styles/mystyles.css" rel="stylesheet">
   
  
  
</head>


<body>

  
  <div class="container" ng-controller="two">
     
   <div class="row row-content" >
        
    <div class="col-xs-12">
        
        <p>{{test.name}}</p>
     
           <p>{{test.level}}</p>
       
 
            </div>
    
    </div>
  
  </div>
  
   <script src ="../bower_components/angular/angular.min.js" ></script>
    
    
    <script>
        var app= angular.module('one',[]);
   
     app.controller('two',function(){
    
        var test= {
       
         name:'abc',
     
           level:'beginner'
        
    };
          
  this.test=test;
            
    
    });
 
   </script>
 
   
</body>


</html>

Reply via email to