A Pen by NoBine

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

Technologies

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

<head>
  <meta charset="UTF-8">
  <title>A Pen by  NoBine</title>
  
  
  <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css'>

  
  
</head>

<body>

  <div ng-app="myApp">
 
  <overview></overview>
  
</div>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.26/angular.min.js'></script>

  

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




</body>

</html>

/*Downloaded from https://www.codeseek.co/NoBine/a-pen-by-nobine-QdJyxx */
var myApp = angular.module('myApp', []);

myApp.directive('overview', function() {
    return {
      restrict: 'E',
      controller: function($scope){
        $scope.user = {
          name: 'PLM'
        }
      },
      template: '<div>Directive Template <b>{{user.name}}</b></div>'
    };
  });

Comments