我在 Chrome 调试工具控制台中收到以下错误消息
未知提供者:$mdDialogProvider <- $mdDialog
这是我的控制器
var studentApp = angular.module('StudentApp', []);
studentApp.controller('StudentController', ['$scope', '$mdDialog', '$http', function ($scope, $mdDialog, $http) {
// Code here
}]);
我需要在这条线上注入一些东西吗?
var studentApp = angular.module('StudentApp', []);