These are chat archives for angular/material

23rd
Sep 2015
Paul Bailey
@pizzapanther
Sep 23 2015 11:14
@adilogin15 it looks like you are not putting ratio on your scope and passing it into your directive. Once it is on the controller scope, you could have the directive use that scope or pass it in via an attribute using an isolated scope.
@chrismbeckett sounds like maybe you're missing the material CSS and including ngAnimate as a module dependency
like so:
<link rel="stylesheet" href="bower/angular-material/angular-material.min.css">
...
<script src="bower/angular-animate/angular-animate.min.js"></script>
<script>
var mymod = angular.module('myMod', ['ngAnimate', 'ngMaterial', 'ngRoute', ... ]);
</script>
Chris Beckett
@chrismbeckett
Sep 23 2015 16:50
@pizzapanther It looks like angular-animate is included as a depedency with angular-material. There is no mention in the docs that you need to install angular-animate seperately. Are you sure this is required? I have the CSS included. Everything else about Angular Material is working as expected, and the sidebar shows and collapses correctly, just no animation.