Hello,

ia have definied in my angular application some state, main and home state.
But in dont able to view home state.
in my app.module i have :

            $stateProvider
                .state('main', {
                    url: '/',
                    abstract: true,
                    views: {
                        'base': {
                            templateUrl: '/app/main.view.html',
                            controller: 'MainController',
                            controllerAs: 'vm'
                        }
                    }
                }).state('home', {
                    url: 'home',
                    abstract: false,
                    views: {
                        'content': {
                            templateUrl: 'app/home.view.html',
                            controller: 'HomeController',
                            controllerAs: 'vm'
                        }
                    }
                })

at start of my home.controller.js ha have set a breakpoint but this is not 
never fired. 
Why?
i'm very beginner to angular , can someone help me?
thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to