Angular1: Empty Fiddle

by HoffZ

HTML

<div ng-app="app">
  <div ng-controller="TestingCtrl as vm">
    <h2>{{vm.title}}</h2>
  </div>
</div>

JavaScript

angular.module('app', [])

.controller('TestingCtrl', [function TestingCtrl() {
	var vm = this;
  vm.title = 'Angular 1 testing';
}])