*index.html*

<html>
    <head>***</head>
    <body ng-app="App">

        <div ui-view="header"></div>
        <div ui-view="content"></div>
        <div ui-view="footer"></div>

        <!-- Scripts -->
    </body></html>

*app.js*

angular.module('App', [
    'ui.router'
    ])
    .config( function ($stateProvider, $urlRouterProvider) {
        $urlRouterProvider.otherwise('/home');

        $stateProvider
            .state('home', {
                url: '/home', 
                views: {
                    'header' : { templateUrl: 'views/header.html' },
                    'content': { templateUrl: 'views/home.html' },
                    'footer' : { templateUrl: 'views/footer.html' }
                }
            })
            .state('chat', {
                url: '/chat', 
                views: {
                    'header' : {},
                    'content': { templateUrl: 'views/chat.html' },
                    'footer' : {}
                }
            });
    });


After applying this method js sliders etc. not working ?anyone please 
help..!

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

Reply via email to