Comments (11)
Have you defined any middleware and passed them into your routes?
from angular-middleware.
Yeah I defined a simple middleware that just calls this.next();
and still nothing. But even so, should it stop rendering all routes just by including the module?
from angular-middleware.
It shouldn't. I'll take a look and try to see what's going on.
from angular-middleware.
I'm thinking it might be the minified version causing problems - it's the main file referenced in package.json & bower.json. I'm noticing an issue on my end when I use it as well. Please give the non-minified version a try and I'll see if I can stamp out this issue.
from angular-middleware.
Matt - I did some work, hoping to resolve this issue... that being said - I wasn't able to replicate the exact issue. I'm hoping it's fixed, but if not, would you mind sharing your source code with me so I can track it down?
from angular-middleware.
I will try including the non-minified version tonight when I get home from work. If that doesn't work I'll share my code. Thanks for your help! I love the idea of using middleware like this in my Angular app.
from angular-middleware.
I just threw some code up on plnkr and referenced with links in the readme under the configuration and examples section. I'm using the latest minified code in plnkr and it's working there. I'll stand by - just let me know how it's working on your end, but I think the issue is cleared up.
from angular-middleware.
Haven't heard anything in a bit - assuming fixed on your end. I'm going to go ahead and close the issue, and will re-open if necessary.
from angular-middleware.
Same issue, doesn't work at all, i have nothing fancy, just included the module, and made the basic config.
from angular-middleware.
@Rocker506 - Would you mind attaching a zip of a simple project that isn't working? I'm having trouble recreating the issue on my end - it would be helpful to start with something that I know is failing.
from angular-middleware.
Hey guys - I the issue and hopefully fixed it. I'm currently using it in a project I'm developing, so I'll be testing it as I work. For now, it seems to be working.
from angular-middleware.
Related Issues (9)
- Global middleware gets called twice in a row initially with ngRoute
- How to (1) access the destination route (2) handle abstract routes HOT 1
- [ui-router] Redirect to child view infinite loop HOT 3
- plugins.js:2 TypeError: Cannot read property 'next' of undefined HOT 1
- Supporting ui-router 1.0 HOT 1
- this.route is undefined HOT 5
- package on npmjs is not up to date HOT 1
- Angular 2 HOT 1
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-middleware.