angularjs - Issue with Angular Material -
i trying demo angular material tool bar. default code js not having dependent modules. code looks below
angular.module('myapp')  .controller('appctrl', function($scope) {  }); but if add new module or empty square braces below, not working
angular.module('myapp',[])  .controller('appctrl', function($scope) {  }); if remove it, working. how can add module without affecting material design ?
the link plunker here
you need add ngmaterial angular app this:
angular.module('myapp',['ngmaterial']); here working plunker
Comments
Post a Comment