Angular material layout – expand to fill window

You can also do it without adding extra styles just using the Angular Material elements. Basically you need to add layout to all the parents of the elements you want to fill vertically. You also don’t need to use so many layout-fills. Here the demo: http://plnkr.co/edit/E244WNhvMXw9VC7DpAW0?p=preview I also added a background color to the sidebar … Read more

How to set text color in Angular-Material?

I was just able to do this using Angular Material 1.1.0. You use the md-colors directive similar to how you would ng-class: <span md-colors=”{color:’primary’}”>…</span> The above code will color the text the primary color. The object that you pass to md-colors uses the key as the css property (i.e. ‘color’, ‘background’, etc) and the value … Read more

How do I fix the npm UNMET PEER DEPENDENCY warning?

npm no longer installs peer dependencies so you need to install them manually, just do an npm install on the needed deps, and then try to install the main one again. Reply to comment: it’s right in that message, it says which deps you’re missing UNMET PEER DEPENDENCY angular-animate@^1.5.0 +– UNMET PEER DEPENDENCY angular-aria@^1.5.0 +– … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)