<html ng-app="myApp">
  <head>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
  </head>
  <body ng-controller="myCtrl as xx">
    <h1>Hello {{ xx.name }}</h1>
    <p>3 + 4 = {{ 3 + 4 }}</p>
  </body>
</html>
var app = angular.module('myApp', []);

app.controller('myCtrl', function() {
  this.name = 'Chris';
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.