I am trying the demo for angular material tool bar. The default code for js is not having a any dependent modules. The code looks like below
angular.module('MyApp')
.controller('AppCtrl', function($scope) {
});
But if I add a new module or empty square braces like below, its not working
angular.module('MyApp',[])
.controller('AppCtrl', function($scope) {
});
If you remove it, its working. How can i add a module without affecting the material design ?
The link to plunker is here