Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(function () {
'use strict';
angular
.module('speakers', [])
.config(config);
config.$inject = ['$stateProvider', '$urlRouterProvider'];
function config($stateProvider, $urlRouterProvider) {
$stateProvider
.state('main.speakers', {
url: 'speakers',
title: 'Speakers',
templateUrl: '../views/speakers/speakers.html',
controller: 'SpeakersCtrl as vm'
});
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment