Hi,
I've been trying to integrate ionic-material-design-lite in my current ionic project, but have not, so far, been 100% successful.
I ran bower install ionic-material-design-lite and pasted the following lines below the ionic imports (when I pasted them above I got errors about angular not being defined, so I assume this is the correct way):
<link href="/lib/ionic-material-design-lite/dist/css/ionic.material-design-lite.min.css" rel="stylesheet">
<script src="lib/ionic-material-design-lite/dist/js/ionic.material-design-lite.bundle.min.js"></script>
This transformed the layout on android immediately, but not on iOS (as expected) so I added the line:
$ionicMaterialConfigProvider.enableForAllPlatforms();
to my .config() , but without luck and all my attempts to include ionicMaterialConfigProvider as a module resulted in the following error:
0 871882 error Uncaught Error: [$injector:modulerr] Failed to instantiate module localpower due to:
Error: [$injector:modulerr] Failed to instantiate module $ionicMaterialConfigProvider due to:
Error: [$injector:nomod] Module '$ionicMaterialConfigProvider' is not......2), http://192.168.1.187:8101/lib/ionic/js/ionic.bundle.js, Line: 13212
So my question is, what else do I have to do to completely install the framework?
Thanks.
Hi,
I've been trying to integrate ionic-material-design-lite in my current ionic project, but have not, so far, been 100% successful.
I ran bower install ionic-material-design-lite and pasted the following lines below the ionic imports (when I pasted them above I got errors about angular not being defined, so I assume this is the correct way):
This transformed the layout on android immediately, but not on iOS (as expected) so I added the line:
to my .config() , but without luck and all my attempts to include ionicMaterialConfigProvider as a module resulted in the following error:
0 871882 error Uncaught Error: [$injector:modulerr] Failed to instantiate module localpower due to:
Error: [$injector:modulerr] Failed to instantiate module $ionicMaterialConfigProvider due to:
Error: [$injector:nomod] Module '$ionicMaterialConfigProvider' is not......2), http://192.168.1.187:8101/lib/ionic/js/ionic.bundle.js, Line: 13212
So my question is, what else do I have to do to completely install the framework?
Thanks.