Home:ALL Converter>Routing in Angular js

Routing in Angular js

Ask Time:2016-03-21T18:14:11         Author:Pankaj Rawat

Json Formatter

This is my first angular project and I'm using angular "ui.router" in my application. This is structure of my application

I have created separate route file for each module and all module inject in app.js. When I run my application my home module routing works fine but account module routing gives below error:

**"Error: Could not resolve 'login' from state '' transitionTo................

but when I create my account module controller direct in route file it's works. I'm stuck on this

Can any one resolve this issue?

Author:Pankaj Rawat,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/36128212/routing-in-angular-js
yy