I have a tab page on which I created tabs like this-
$scope.tabs = [
{
name: 'Details',
url: 'app/tenant/detail/details.html',
active: true
}, {
name: 'Application',

url: 'app/tenant/detail/application.html',

active: false
}

This is how I am using ngRouting here
$routeProvider
.when('/login', {
template: ""
})
.when('/tenants', {
template: ""
})
.when('/tenants/details', {
template: ""
})
How can I give url in tabs? This way is not working altogether and when I 
specify a url like '#/tenat/application' then it loads whole page including 
header inside the tab with only first tab selected, I can not go to second 
one. The concern in above approach that how a html page will know that 
which JS it need to load for instance if i am loading application.html.

-- 
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