Angular

In this example below you will see how to do a Angular with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by cmuzzin, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright cmuzzin ©

Technologies

  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Angular </title>
  
  
  <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

  
  
</head>

<body>

  <div ng-app="testBed" ng-controller="testController as test">
   <div class="container">
      <h1>Angular Template</h1>
      <pre>{{test.text}}</pre>
   </div>
</div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.6.1/lodash.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/cmuzzin/angular-yboeJK */
angular.module('testBed',[])
   .controller('testController', function(){
      var test = this;
      test.text = "Hello World";
})

Comments