Comments (8)
For anyone else who's getting the "No instance found for handle left" error: it means the $mdSidenav
instance you're calling ('left'
, in this case) has not yet been initialised upon your call. See this.
Use this instead:
$mdComponentRegistry.when('left').then(function(it){
it.close();
});
It'd be great if we could have a way to check if the instance is out there yet without having to log error.
from angular-material-inbox.
My bower dependencies require angular-material "~0.5.1"
Have not updated the project since writing the blog post
from angular-material-inbox.
I'm on 0.5.1 and was also getting this error. This failed whn my markup referenced md-component-id but works when I use component-id.
from angular-material-inbox.
kk, I will look into it in the next couple of days and clean things up while upgrading to the latest angular-material version.
I actually did not expect so much interest in this project, which is cool =)
from angular-material-inbox.
Not a lot of angular material ref project type stuff out there yet - i think you would be surprised at the interest level!
from angular-material-inbox.
Thanks for the sample, but the toolbar and side nav are not working with the latest version of the frameworks. I'm using angular 1.3.8 and Material 0.8rc1. there have probably been a number of breaking changes since Material 0.5.1... Would be great to see an updated version, thanks again for your time and effort.
from angular-material-inbox.
Finally had some time to update the project, it now is based on angular-material 0.8.x
from angular-material-inbox.
@Luxiyalu thanks for great work around which is still elegant!
from angular-material-inbox.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-material-inbox.