I have 3 urls(blog, help, tips) for routing which will be having same controller and same html page.
rcapp.config(function($routeProvider) {
$routeProvider
.when('/csv-validation',{
templateUrl:'csv-validation.html',
controller:'csvController'
})
.when('/blog',{
templateUrl:'blog_tips.html',
controller:'blogTipsController'
})
.when('/tips',{
templateUrl:'blog_tips.html',
controller:'blogTipsController'
})
.when('/help',{
templateUrl:'blog_tips.html',
controller:'blogTipsController'
})
});
can i do it in one .when condition for those 3 urls.