D
I finally got it working after a lot of trial and error.
For anyone else struggling with a similar issue, I had to remove ng-app="app" from my html tag.
It was formerly <html lang="en" ng-app="app"> and I changed it to just <html lang="en">
Then, I had set up my app’s module using
var appEnvironment = angular.module('app', ['onsen.directives', 'ngSanitize', 'ngAnimate', 'ngAria', 'ngMessages', 'ngTouch', 'ngMaterial']);
along with my controller later defined as
appEnvironment.controller('AppController', function ($scope, $mdDialog) {
For some reason between Onsen 2.0.4 and 2.0.5, this broke. It seems like ons.bootstrap() is now required maybe?
Anyhow, I have it working now with the following set up:
<html lang="en">
…
<body ng-controller="AppController">
and my code:
ons.bootstrap(document.body, ['onsen.directives', 'ngSanitize', 'ngAnimate', 'ngAria', 'ngMessages', 'ngTouch', 'ngMaterial']).controller('AppController', function ($scope, $mdDialog) {
Thanks for directing me to the Onsen UI Playground, @emccorson. That helped me figure out where the problem was, then it just took a bit of experimenting.