I've been diving into AngularJS using Dan Wahlin's tutorial (http://youtu.be/i9MHigUZKEM?t=13m35s). In my views/index.jade file, I've implemented the code below:
!!! 5
html(data-ng-app='')
head
title Angular Tutorial
body
| Name:
br
input(type='text', data-ng-model='name') | {{name}}
script(src='https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js', type='text/javascript')
However, upon running the application and trying to input text in the Name field, it fails to display as shown in the tutorial. Can someone point out what might be wrong?