patrykbialek

Results comments of patrykbialek

I have the same problem, didn't fixed yet... but in my case if I have @import statement insisde the .less file the error occures. Pat

Dear all, look here... https://medium.com/@tarik.nzl/making-use-of-dialogs-in-material-2-mddialog-7533d27df41#.pf8d9o1ji Less code in controller(component) - only to call 'dialog' service...

``` beforeEach(function () { sinon.spy($mdDialog, 'show'); controller = $controller(YourController); $rootScope.$apply(); }); ``` ``` describe('after button pressed', function() { it('should have dialog open', function () { controller.yourFunctionWithCallingDialog(); expect($mdDialog.show).to.have.been.calledOnce; }); }) ```

Hi, didn't read entire history of that issue... I need the md-menu as well. I make some temp solution. There you are: ## ``` // Check for a secondary item...