add component to route code example
Example: add component to route
$stateProvider.state({
name: 'Vendors',
url: '/Vendors',
component: 'Vendors'
});
$stateProvider.state({
name: 'Vendors',
url: '/Vendors',
component: 'Vendors'
});