LearnIt Sample AngularJS Code

 
 
 
<!DOCTYPE html> <html lang="en-US"> <head> <title>Learn It HTML Template</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> </head> <body ng-app="sampleApp"> <div ng-controller="sampleController"> </div> <script> var app = angular.module("sampleApp", []); app.controller('sampleController', ['$scope', function ($scope) { }]); </script> </body> </html>
Output