Hello Adam,
I'm no expert but I've been working on angular apps based off the angular template. I can't help you fix your error however I think I can help you get your feet wet getting a basic working angular module up. There's a few things I've narrowed down that you have to have to get started:
First in your code behind during the pre-render register angularjs, your view, and your app:
I named my script app.js.
Your second line of your view should have:
In your view (I don't think it matters if it's on the top or bottom of the page add your bootstrapping:
Then your script should look like so:
You don't need ngDialog unless you know what it is (I believe it's for modal support which is used in the template example code). Change the name of your app to whatever you want and make sure you register it and call it properly from your view. With this setup any angular code I use works properly.
Hope this helps.