アプリケーションでAngular Material Designを実装する予定です。私は material.js と material.css を含めました。アプリの定義は次のようになります。コードは次のとおりです。
インデックス.html:
<script src="js/ripples.js"></script>
<script src="js/material.js"></script>
app.js ar routerApp = angular.module('DiginRt', ['ui.bootstrap','SimpleCouch','ngMaterial']);
アプリケーションの実行を開始すると、次のように表示されます
Uncaught Error: [$injector:modulerr] Failed to instantiate module DiginRt due to:
Error: [$injector:modulerr] Failed to instantiate module ngMaterial due to:
Error: [$injector:nomod] Module 'ngMaterial' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.