UNPKG

generator-at-angular

Version:

Yeoman angular application generator thet uses Webpack, SASS, UI router, Karma and Jasmine for testing, and auto generated docs.

11 lines (9 loc) 244 B
function routeConfig($urlRouterProvider, $stateProvider) { 'ngInject'; // Add new states above // Add new routes above $urlRouterProvider.otherwise('/'); } export default angular .module('index.routes', []) .config(routeConfig);