<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Angular ngApp Örnek</title>
  
</head>
<body >
  <div ng-app="ornekModul" ng-strict-di>
    <div ng-controller="ornekController">
        ornek Angular ngApp : {{a}} + {{b}} =  {{ a+b }}
    </div>
</div>
</body>
</html>
(function(angular) {
  'use strict';
angular.module('ornekModul', [])
  .controller('ornekController', ['$scope', function($scope) {
    $scope.a = 1;
    $scope.b = 2;
  }])
})(window.angular);

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js